Just change from “loaders” to “rules” in “webpack.config.js”
Because loaders is used in Webpack 1, and rules in Webpack2.
You can see there have differences.
Just change from “loaders” to “rules” in “webpack.config.js”
Because loaders is used in Webpack 1, and rules in Webpack2.
You can see there have differences.