Lucas Garron

Results 762 comments of Lucas Garron

> * Argument abbreviation where the arg can be in any position > * Subcommand abbreviation > * Argument abbreviation for specific subcommands (allowlisted) > * Argument abbreviation for specific...

> You could use [Array.proptotype.entries()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries) as follows: Ah, interesting, thanks! What a language. 😆 The description for this linting item is: > forEach could lead to performance issues when working...

I'd also like to put in a word for supporting JSON5 and ideally recommending it over JSONC if you have a choice between the two. There are a few good...

From the error logs, it seems that this happens from trying to bundle workers as CommonJS? Would the error go away if worker constructor files were instead just treated as...

While I appreciate a partial fix in https://github.com/vitejs/vite/pull/16103 , I'd like to note that that it does far from solving the issue in general. Trying to run `npx vite build`...

> By using the main branch ([eef9da1](https://github.com/vitejs/vite/commit/eef9da13d0028161eacc0ea699988814f29a56e4)) Vite and setting `worker.format: 'es'`, the build of your repro (#14499) succeeds and the preview is working. That's reassuring to hear! I tried...

Aha! I forgot that the `vite.config.js` file needs to be in the `src` folder, not the project root! It works with: ```js export default { worker: { format: "es" }...

I also ran into this issue on mcaOS as soon as I converted one of my packages to a workspace: ```shell git clone https://github.com/cubing/cubing.rs && cd cubing.rs git checkout 139fe2cca6985f1f6d980f46999df26fbfef87dc...

For what it's worth, my issue was with `target/package/cubing_core-0.12.0/.DS_Store` but the gtop-level `.gitignore` includes the entire `/target` folder. So my issues seems to be more a race condition with macOS...

> So my issues seems to be more a race condition with macOS creating `.DS_Store` files, which is something that is not really possible to control on the main disk....