refactor(bundle): dont use minifier

This commit is contained in:
moklick
2019-10-08 21:42:16 +02:00
parent 1377a42f41
commit bf3ed421b4
9 changed files with 9543 additions and 18 deletions
+3 -4
View File
@@ -29,8 +29,7 @@ const plugins = [
include: /node_modules/
}),
svg(),
visualizer(),
isProd && terser()
visualizer()
];
export default [{
@@ -55,9 +54,9 @@ export default [{
onwarn,
output: {
name: 'ReactFlow',
file: pkg.module,
file: pkg.main,
format: 'es',
sourcemap: isProd,
sourcemap: false,
globals: {
react: 'React',
'react-dom': 'ReactDOM',