-
-
Notifications
You must be signed in to change notification settings - Fork 384
Weird warnings with v1.0.0 and Webpack 5 #622
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 read the changelog, use |
@evilebottnawi I did. The thing is that the warning is raised on Vue components that have only inline template styles ( |
@lllopo I think better to open an issue in vue repo, anyway if you create reproducible test repo I can look at this |
@evilebottnawi ok, thanks. A bit busy, but will let you know when I have a test for this. I think it's mini-css related as it works fine with 0.12.0 ... anyway - we talk more when I have the test setup. |
@lllopo yep, feel free to ping me |
@evilebottnawi Hi, there you go : https://codesandbox.io/s/webpack-5-with-mini-css-extract-100-warnings-c028j It is very rough, but the warnings are there in the terminal when you re-build the thing. Edit : Just edit App.vue template to kick a build. Not sure, but it seems you have to edit it actually twice to see the warnings I'm talking about ... this is some Codesandbox weird thing, I think. |
@lllopo bug in |
@evilebottnawi Ok, I'll report it. Thanks a lot. |
Expected Behavior
Clean build, without warnings, which happens with version 0.12.0, but doesn't happen with 1.0.0
Actual Behavior
While 0.12.0 builds ok, verision 1.0.0 (without touching anything else in the setup) rises the following warning :
export 'default' (reexported as 'default') was not found in '-!../../node_modules/mini-css-extract-plugin/dist/loader.js!../../node_modules/css-loader/dist/cjs.js!../../node_module s/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-3.use[2]!../../node_modules/sass-loader/dist/cjs.js!../../node_modules/vue-loader/ dist/index.js??ruleSet[1].rules[10].use[0]!./HelloWorld.vue?vue&type=style&index=0&id=469af010&scoped=true&lang=scss' (possible exports: )
webpack.config.js
How Do We Reproduce?
just create Vue 3 setup and use webpack ^5.0.0 with mini-css-extract 1.0.0
The text was updated successfully, but these errors were encountered: