Open tzvc opened 3 years ago
Also experiencing this issue. My build works fine on 3.3.6; bug seems to be introduced in 3.3.7.
Update: Tried again--3.3.6 isn't working, I probably forgot to update deps. 3.0.13 is working and 3.1.0 is not.
@azuline Same problem for me on 3.3.6
. But i was able to build on 3.0.13
Strange! Here is my config: https://github.com/azuline/repertoire/tree/master/frontend.
Might be caused by #3109, try using this workaround.
Hi there,
I'm trying to bundle my latest react app using snowpack's built-in bundler (esbuild) and I'm having issues running the produced build.
The build run without errors. But when I serve the build folder and access my app via the browser, I see only a white screen.
Upon inspection, it seems that the bundle is fetched by the HTML, but doesn't seem to be executed. Also something I noticed is that img assets are loaded by the code as "scripts" thus producing errors.
The error dont seems to come from the "mimifying" as, if I leave
minify: true
and turnbundle
tofalse
, the app runs normally.What is even weirder is that, I'm building all my react projects with the exact same config and never had an issue.
Reproduce
My snowpack config (i'm running snowpack
3.3.7
)My
tsconfig.json
Where should I look into ?
Cheers!