From ece2b23407e8e3144302022bfb2507d0325aa138 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Fri, 29 Dec 2017 01:16:45 +0000 Subject: [PATCH] Export as a library --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: {