diff --git a/src/React/Scripts/webpack/dev.config.js b/src/React/Scripts/webpack/dev.config.js index 3b13749..d87622c 100644 --- a/src/React/Scripts/webpack/dev.config.js +++ b/src/React/Scripts/webpack/dev.config.js @@ -17,7 +17,8 @@ module.exports = { }, output: { filename: '[name].generated.js', - libraryTarget: 'this' + libraryTarget: 'this', + publicPath: '/pack/' }, plugins: [ new webpack.DefinePlugin({ @@ -44,7 +45,8 @@ module.exports = { }, output: { filename: '[name].generated.js', - libraryTarget: 'this' + libraryTarget: 'this', + publicPath: '/pack/' }, plugins: [ extractCSS, diff --git a/src/React/Scripts/webpack/prod.config.js b/src/React/Scripts/webpack/prod.config.js index 203128a..4a6d9e1 100644 --- a/src/React/Scripts/webpack/prod.config.js +++ b/src/React/Scripts/webpack/prod.config.js @@ -17,7 +17,8 @@ module.exports = { }, output: { filename: '[name].generated.js', - libraryTarget: 'this' + libraryTarget: 'this', + publicPath: '/pack/' }, plugins: [ new webpack.optimize.DedupePlugin(), @@ -54,7 +55,8 @@ module.exports = { }, output: { filename: '[name].generated.js', - libraryTarget: 'this' + libraryTarget: 'this', + publicPath: '/pack/' }, plugins: [ extractCSS,