Closed elva2596 closed 7 years ago
I have found answer:
['transform-runtime', {
helpers: false,
polyfill: false,
regenerator: true, }],
]
@elva2596 Okay, the error still exist, can I fix it?
exclude: /(node_modules|bower_components)/,
fixed for me. Entire thing:
module: {
rules: [
{
test: /\.js$/,
enforce: 'pre',
loader: 'eslint-loader',
query: {
configFile: './.eslintrc'
}
},
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: [
{
loader: 'babel-loader',
options: {
babelrc: true
}
}
]
}
]
},
hello,when i npm install and npm start ,the controls show the message:$export is not a function.how to solve?