You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build to succeed, like it does using vue-loader v15.
What is actually happening?
The build fails, because vue-loader v16 produces an invalid query string for the styleRequest. Notice that the query string contains two "?" characters:
ERROR in ./src/app.vue?vue&type=style&index=0&id=5ef48958&lang=css?variant=debug (./node_modules/vue-loader/dist??ref--7-0!./src/app.vue?vue&type=style&index=0&id=5ef48958&lang=css?variant=debug) 2:7
Module parse failed: Unexpected token (2:7)
File was processed with these loaders:
* ./node_modules/vue-loader/dist/index.js
You may need an additional loader to handle the result of these loaders.
|
> button {
| display: none;
| }
@ ./src/app.vue?vue&type=style&index=0&id=5ef48958&lang=css?variant=debug 1:0-147 1:0-147 1:148-284 1:148-284
@ ./src/app.vue?variant=debug
@ ./src/main.js
The problem arises only when using custom Webpack resolver plugins. It is fixed by changing this line in vue-loader:
Version
16.8.3
Reproduction link
github.com
Steps to reproduce
What is expected?
The build to succeed, like it does using vue-loader v15.
What is actually happening?
The build fails, because vue-loader v16 produces an invalid query string for the styleRequest. Notice that the query string contains two "?" characters:
The problem arises only when using custom Webpack resolver plugins. It is fixed by changing this line in vue-loader:
The text was updated successfully, but these errors were encountered: