From 74e09864358a8e46f4019f4a82102783fab3ad5f Mon Sep 17 00:00:00 2001 From: Eiichi Takebuchi Date: Wed, 28 Mar 2018 22:44:21 +0900 Subject: [PATCH] Modify webpack.config.js I can't running "npm run build". I'm a beginer, I don't know the correct fix. However, it can be done with that modification. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3e93ad3..681d4b29 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,8 @@ module.exports = { publicPath: '/dist/', filename: 'build.js' }, + mode: "development", + target: "node", module: { rules: [ { @@ -141,7 +143,8 @@ module.exports = { extensions: ['.ts', '.js', '.vue', '.json'], alias: { 'vue$': 'vue/dist/vue.esm.js' - } + }, + modules: ["node_modules"] }, devServer: { historyApiFallback: true,