Closed CGarces closed 8 months ago
It is Size Limit issue? Looks like it is more npm
and workspaces issue in your environment.
Maybe, not directly a size-limit issue. I'm not using workspaces as I only have one package.json, and it only happends on windows not wsl.
I'm trying to understand if there is a way to generate the esbuild-why.html
file before the error.
Also maybe is a good feature generate the esbuild-why.html
file without open a browser to use it as result of a CI/CD script, or as workaround for this issue.
https://github.com/un-ts/size-limit/actions/runs/6822135697/job/18553660760#step:6:33
+1 for this, it is caused by
which resolves an absolute path like D:
for import
on Windows which is not supported. The fix is to use pathToFileURL
.
And considering #344, I think we should simply use import(i)
here. cc @ai
The fix by @JounQin was released in 10.0.3.
Hi
I'm using size-limit 9 with NodeJs 18 and windows 10
Using powershell I have de following error.
The second option y run at WSL but I have one annoying bug that I can solve
It's possible to run
npm run size --why
and saving the result, without open the browser?