-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
RC 3 update breaks working Webpack production build #1617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please provide a repository with a runable reproduction. You might also want to explain from which version you updated when this problem appeared. |
@LinusBorg updated from 3.0.0-beta.15 |
yes.. first thing i tried.. i realized now that if a create a new project via cli the same things happen. i tried 'npm uninstall -g @vue/cli' but maybe there is more to to for a 'reset'. |
No, |
very strange.. reinstalled everything and still i get the same.. |
should there not be something like ExtractTextPlugin to get the css? |
Hm, it seems that it's running the that would explain why there's still vue-style-loader in there instad of the extract plugin etc. Please run |
yes i have NODE_ENV=local .. but this is since quiet some time like this.. was that handled differently in the previous releases? @LinusBorg thx a lot for the help.. you can kindly close the issue |
In a way, yes. in beta.16 we made sure that variables in .env vars don't overwrite variables set externally - this change allows you to overwrite environment variables by defining them in your CI environment, without the need for a separate .env file for it. See here: https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md#300-beta16-2018-06-08
|
Same problem running "npm run serve" on Windows 10 using 3.0.0-rc.3. "npm run build" works fine. |
Version
3.0.0-rc.3
Reproduction link
https://gist.github.com/podlebar/c10cd6e14545ad6f29780b258122a33c
Steps to reproduce
Update all deps to RC 3, run 'npm run build' or 'yarn build'.
packacke dev deps should be like:
vue.config.js
What is expected?
output should be somehow like:
also no service worker is created nor the manifest file.
What is actually happening?
output is:
It seems that the RS 3 update changes how Webpack build the production build.
I tried different settings and none of them worked. Also tried re-configure via VUE UI but no affect on production build.
Inspection Webpack output from VUE UI: https://gist.github.com/podlebar/c10cd6e14545ad6f29780b258122a33c
'npm run serve' also throws a error:
Uncaught Error: [HMR] Hot Module Replacement is disabled.
The text was updated successfully, but these errors were encountered: