diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-05 20:08:55 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-05 20:08:55 +0900 |
commit | c5e9a3d35db6fb0308a3771f5d1b3083dbf2943c (patch) | |
tree | ef7a1b5751ec0463e2c8437b3a58dd384b028096 /webpack.config.js | |
parent | 5fb3de3263357b3b42a0d1a67a0b9153e4c34260 (diff) |
set import root for webpack
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
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: [ |