Preserving function names to not break n3.
@@ -37,7 +37,11 @@ function config(env, argv): Configuration {
minimizer: [
new UglifyJsPlugin({
parallel: true,
- sourceMap: true
+ sourceMap: true,
+ uglifyOptions: {
+ //Needed because of n3 issue https://github.com/rdfjs/N3.js/issues/135
+ keep_fnames: true
+ }
}),
new OptimizeCSSAssetsPlugin()
]
