From 8095f8cc983bbed532db7eee9f7f5a64e910b731 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 13 Dec 2016 02:26:19 +0800 Subject: [PATCH] Fix missing base url option in webpack production config --- webpack.production.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.production.js b/webpack.production.js index 13aad6bd..b28c34ae 100644 --- a/webpack.production.js +++ b/webpack.production.js @@ -24,7 +24,8 @@ module.exports = [Object.assign({}, baseConfig, { output: { path: path.join(__dirname, 'public/build'), publicPath: '/build/', - filename: '[id].[name].[hash].js' + filename: '[id].[name].[hash].js', + baseUrl: '<%- url %>' } }), { entry: {