Skip to content

Commit

Permalink
Fixing resourceRoot option
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofMorva authored and JeffreyWay committed Mar 22, 2017
1 parent c70a2b2 commit 0a08c90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports.module = {

return 'images/vendor/' + path.replace(/\\/g, '/').replace(/((.*(node_modules|bower_components))|images|image|img|assets)\//g, '') + '?[hash]';
},
publicPath: Mix.resourceRoot
publicPath: Mix.options.resourceRoot
}
},

Expand All @@ -164,7 +164,7 @@ module.exports.module = {

return 'fonts/vendor/' + path.replace(/\\/g, '/').replace(/((.*(node_modules|bower_components))|fonts|font|assets)\//g, '') + '?[hash]';
},
publicPath: Mix.resourceRoot
publicPath: Mix.options.resourceRoot
}
},

Expand All @@ -173,7 +173,7 @@ module.exports.module = {
loader: 'file-loader',
options: {
name: '[name].[ext]?[hash]',
publicPath: Mix.resourceRoot
publicPath: Mix.options.resourceRoot
}
}
]
Expand Down

0 comments on commit 0a08c90

Please sign in to comment.