Tom McLaughlin

Results 191 comments of Tom McLaughlin

It certainly encodes to a JSON object for every case I'm aware of. Those are some pretty old issues also. Do you have an example of this?

Oh, I guess this can happen when you use a `ToJSONKeyValue` function, see https://hackage.haskell.org/package/aeson-2.0.3.0/docs/Data-Aeson-Types.html#t:ToJSONKey

Yep, sounds like we need to modify the instance to handle this case. Wouldn't you rather just use `ToJSONKeyText`? IIRC you can even auto derive it from a newtype like...

> In most cases it's probably going to be easier to have a .dir-locals.el or .editorconfig for a project that sets the required variables. I had been setting them in...

I suspect that won't work in Doom -- in case it helps anyone, the Doom solution was ```elisp (add-to-list 'doom-detect-indentation-excluded-modes 'web-mode) (add-to-list 'doom-detect-indentation-excluded-modes 'typescript-tsx-mode) ```

Whoa, thanks for doing this @noughtmare! Yes, that was me asking on StackOverflow :)

Many thanks for the fast response @brillout ! I tried the PR and it works (if you've already built the project once). I added a question there about how this...

Maybe I'll continue the discussion here if you don't mind. I just did some more work trying to resolve the `importBuild.cjs` issue and came up with this: https://github.com/thomasjm/vike-standalone/commit/3eb35dd2ccb281ef57f5a8956204710f4e798ebf The tricky...

Actually never mind, I got it to work as of https://github.com/thomasjm/vike-standalone/commit/d9bbe828aa67260031965184774d6bd7a7709e99 ! It's super fragile and weird (uses `sed` to patch up the `index.mjs` file), but should serve as a...

> Simpler solution: https://github.com/brillout/vike-standalone/tree/simpler. Huh? That's a solution for the static assets problem, which I already fixed: https://github.com/thomasjm/vike-standalone/commit/b521db61b50489aaeca60fad78e35157bf10d76c The work I was doing above is to resolve the other problem,...