whitestorm-app-boilerplate
whitestorm-app-boilerplate copied to clipboard
Uncaught TypeError: $export is not a function on Chrome 56
Hey, I had an issue on Chrome 56.x when I got:
Uncaught TypeError: $export is not a function console message on upon running the server first time.
My issue seems to be solved by finding this post on stack. And changing transform-runtime to following:
plugins: [
'add-module-exports',
'transform-decorators-legacy',
'transform-class-properties',
'transform-object-rest-spread',
['transform-runtime', {helpers: false, polyfill: false, regenerator: true}]
]
@alkavan seems like duplication of #5. Will try to fix it tomorrow. You may make a PR to make it faster
fixed, we can close?
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
}
}
]
}
]
},