whitestorm-app-boilerplate icon indicating copy to clipboard operation
whitestorm-app-boilerplate copied to clipboard

Uncaught TypeError: $export is not a function on Chrome 56

Open alkavan opened this issue 8 years ago • 3 comments

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 avatar Mar 19 '17 20:03 alkavan

@alkavan seems like duplication of #5. Will try to fix it tomorrow. You may make a PR to make it faster

sasha240100 avatar Mar 19 '17 23:03 sasha240100

fixed, we can close?

hirako2000 avatar Jun 22 '17 13:06 hirako2000

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
						}
					}
				]
			}
		]
	},

saltcod avatar May 04 '18 14:05 saltcod