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
{{ message }}
This repository was archived by the owner on Oct 23, 2019. It is now read-only.
The build should make expected files and run the server
Actual Behavior
Getting this error Module build failed: TypeError: this.query.substr is not a function
at Object.module.exports.pitch(/node_modules/multi-loader/index.loader.js:4:36)
which is this line var items = JSON.parse(this.query.substr(1));
This issue is for a:
Code
rules: [
{
test: /.js$/,
include: path.resolve("./src/scripts/"),
loader: multi("ng-annotate-loader","babel-loader?cacheDirectory=true"),
options: {
presets: ["es2015"]
}
},
CLI Command
webpack-dev-server
webpack.config.js
Link to Webpack Config Gist
Expected Behavior
The build should make expected files and run the server
Actual Behavior
Getting this error Module build failed: TypeError: this.query.substr is not a function
at Object.module.exports.pitch(/node_modules/multi-loader/index.loader.js:4:36)
which is this line var items = JSON.parse(this.query.substr(1));
How Do We Reproduce?
Run the webpack-dev-server command