'React - Module parse failed: You may need an appropriate loader to handle this file type 6:15
Help me with this error: NPM run error
my webpack setting:
module.export = {
module: {
rules: [
{
test: /\.js$|\.jsx/,
exclude: /node_modules/,
use: {
loader: "babel-loader",
presets: ['es2015']
}
}
],
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|