Issue relating Snowpack production building with the dev environment #3699
Unanswered
tropicalraisel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using this file:
src/index.js
And this HTML file:
src/index.html
Through this config file:
snowpack.config.mjs
Works normally when running the development server. However, when trying to build the project, the Webpack plugin generates this error:
Which is fixed by changing the index Javascript file to this:
src/index.js (EDIT)
But then this error is rendered when the dev server is run:
How can this small project be altered to have both building and dev server runtime work in tandem?
Beta Was this translation helpful? Give feedback.
All reactions