Chunpeng Huo
Chunpeng Huo
I also thought about comments. The trouble is the parser I am using is meriyah, it doesn't have comments in AST tree (comment is not defined in estree AST spec)....
Thx for the reporting! Never tested dumber with yarn pnp. Also aurelia 1 and aurelia 2 do not work with yarn pnp either. You can try add a config to...
I added that line in. Please try again.
It seems yarn also didn't support npm's override config. https://github.com/dumberjs/new/blob/master/common/package.json#L132C3-L132C14 It still tris to install the normal chokidar v2.
I used yarn and pnpm both long ago, and also contributed to them. But in the end, I came back to npm, because all the saving they provided did not...
Probably because I never push up lock file so never used "npm ci" in my ci :-) The yarn "resolutions" does looks similar, it might be different. The example shows...
I use ts with npm. Didn't recall anything like that with pnpm before. That's exactly the kind of trouble I hate spending time on :-)
Looks like esbuild and typescript differed. I thought vite uses tsc on .ts files, apparently I was wrong. It looks like it's the esbuild for that work. With tsc, `experimentalDecorators`...
I assume this has to wait for #16616.
> Indeed, setting target (es2020 for instance) in vite.config.json solves the problem. Cheers! To be clear, the solution is the target setting in vite config, plus esbuild 0.21 override?