refactor(bundle): only create one bundle #15

This commit is contained in:
moklick
2019-10-08 21:12:07 +02:00
parent b9f4d60d5f
commit 936550bdb2
8 changed files with 23 additions and 219 deletions
+18 -16
View File
@@ -49,20 +49,22 @@ export default [{
}
},
plugins
}, {
input: 'src/plugins/index.js',
external: external,
onwarn,
output: {
name: 'ReactFlow Plugins',
file: 'dist/plugins/index.js',
format: 'umd',
sourcemap: isProd,
globals: {
react: 'React',
'react-dom': 'ReactDOM',
'prop-types': 'PropTypes'
}
},
plugins
}];
// }, {
// input: 'src/plugins/index.js',
// external: external,
// onwarn,
// output: {
// name: 'ReactFlow Plugins',
// file: 'dist/plugins/index.js',
// format: 'umd',
// sourcemap: isProd,
// globals: {
// react: 'React',
// 'react-dom': 'ReactDOM',
// 'prop-types': 'PropTypes'
// }
// },
// plugins
// }];