diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..76ece01 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,7 @@ +module.exports.getWebpackConfig = (config, options) => { + const d3Idx = config.externals.indexOf('d3'); + if(d3Idx !== -1) { + config.externals.splice(d3Idx, 1); + } + return config; +};