From 9c680d003499aa3cbdc8e58147148b2fc9fb5632 Mon Sep 17 00:00:00 2001 From: daguo Date: Sun, 7 May 2017 00:41:05 +0800 Subject: [PATCH] fix publicPath which cause error path after building --- template/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/webpack.config.js b/template/webpack.config.js index c2c71413a..a14d14653 100644 --- a/template/webpack.config.js +++ b/template/webpack.config.js @@ -5,7 +5,7 @@ module.exports = { entry: './src/main.js', output: { path: path.resolve(__dirname, './dist'), - publicPath: '/dist/', + publicPath: './dist/', filename: 'build.js' }, module: {