diff --git a/webpack.config.js b/webpack.config.js index 57d4623375..cac0f1aa19 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -5,7 +5,8 @@ module.exports = { output: { path: path.resolve('build'), - filename: 'index.js' + filename: 'index.js', + library: true }, resolve: {