@@ -6,6 +6,10 @@ module.exports = merge(base, {
// Enable source maps for dev (fast compilation, slow runtime)
devtool: 'cheap-module-eval-source-map',
+ output: {
+ publicPath: '/public/js/frontend/'
+ },
+
devServer: {
// Disable webpack dev server auto-reload
inline: false,
@@ -12,7 +12,6 @@ module.exports = {
// kept in memory for speed
output: {
path: path.join(__dirname, '/public/js/frontend'),
- // publicPath: '/frontend/',
filename: '[name].js',