From 119e5a9913851f7e2350da56360305689e5c976f Mon Sep 17 00:00:00 2001 From: carloluis Date: Wed, 21 Mar 2018 23:19:43 -0300 Subject: [PATCH] update assets public path. --- config/webpack.config.prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index 6b1ec82..d6956e2 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -21,7 +21,7 @@ module.exports = { output: { path: PATHS.dist, filename: '[name].[chunkhash].js', - publicPath: '/' + publicPath: './' }, optimization: { runtimeChunk: 'single', @@ -93,7 +93,7 @@ module.exports = { html5: true }, mobile: true, - scripts: ['/static.js'] + scripts: ['./static.js'] }), new CopyWebpackPlugin([ {