Closed alexreardon closed 7 years ago
It looks like this is related to #18
We are using the standard webpack uglifyJS plugin:
plugins: [
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
},
output: {
comments: true,
},
}),
]
You can temporarily fix it by setting mangle: false, compress: false
in this plugin.
Spoke to @alexreardon IRL and they are using latest, but this is still an issue.
The problem is in weakmap – it uses Function.prototype.name
You can workaround it now by putting:
mangle: {
keep_fnames: true,
}
in your config, but we'll release a new version with a better weakmap dependency.
Is this all good now josh?
Yes, should be! If it's not let me know.
When running
skate-web-components
through UglifyJS I am getting a run time exception in firefox and safari.It seems like it is erroring out in the following dependency: https://github.com/Benvie/WeakMap