diff --git a/js-packages/webpack-config/index.js b/js-packages/webpack-config/index.js index 2ca5bb383..ea568fd27 100644 --- a/js-packages/webpack-config/index.js +++ b/js-packages/webpack-config/index.js @@ -44,6 +44,8 @@ module.exports = function(options = {}) { output: { path: path.resolve(process.cwd(), 'dist'), + library: 'module.exports', + libraryTarget: 'assign' }, externals: [