browser is now downloading files in dev instead of showing them #3576
Replies: 7 comments 4 replies
-
It works w/ 3.7.0. Problem is that I have people using snowpack with npx that loads latest version. |
Beta Was this translation helpful? Give feedback.
-
Build works, but not dev, must be a mime issue. |
Beta Was this translation helpful? Give feedback.
-
Could you be more specific on which kind of files have been downloaded, plz? |
Beta Was this translation helpful? Give feedback.
-
OK, I found the where the problem is in the snowpack source code. It is in: Workaround is to use build with watch: true. Back to the issue in dev.ts req: Since if there is not '.' it must be index.html!!!!! |
Beta Was this translation helpful? Give feedback.
-
Until PR is published you can: npm i -g snowpack4 |
Beta Was this translation helpful? Give feedback.
-
I updated to latest version and... the browser is now downloading the files instead of showing them. I am using pug plugin in but that used to work. HELP?
Beta Was this translation helpful? Give feedback.
All reactions