diff options
author | Wu Cheng-Han | 2016-12-13 02:26:19 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-12-13 02:26:19 +0800 |
commit | 8095f8cc983bbed532db7eee9f7f5a64e910b731 (patch) | |
tree | 920b23db7cef174ca9565d1ad8cd2398da166e24 | |
parent | 159be6a7c775651cf2f9d4625d3a64ddd1991f32 (diff) |
Fix missing base url option in webpack production config
Diffstat (limited to '')
-rw-r--r-- | webpack.production.js | 3 |
1 files changed, 2 insertions, 1 deletions
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: { |