diff options
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index b101456bd5d..456f971a3aa 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -42,7 +42,8 @@ module.exports = { output: { // Step away from the src folder and extract to the js folder path: path.join(__dirname, 'dist'), - publicPath: '/dist/', + // Let webpack determine automatically where it's located + publicPath: 'auto', filename: '[name].js?v=[contenthash]', chunkFilename: '[name]-[id].js?v=[contenthash]', // Make sure sourcemaps have a proper path and do not |