From c5e9a3d35db6fb0308a3771f5d1b3083dbf2943c Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 5 Oct 2017 20:08:55 +0900 Subject: [PATCH] set import root for webpack --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index f1ba07a..e4d5a17 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,7 +39,8 @@ module.exports = { }, resolve: { - extensions: [ '.js' ] + extensions: [ '.js' ], + modules: [path.join(__dirname), 'node_modules'] }, plugins: [