refactor(bundle): only create one bundle #15
This commit is contained in:
+18
-16
@@ -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
|
||||
// }];
|
||||
|
||||
Reference in New Issue
Block a user