From 36071bfc92d93f1850e19c76bf73c55fe692241e Mon Sep 17 00:00:00 2001 From: Ilkka Laukkanen Date: Sat, 2 May 2015 13:57:34 +0300 Subject: [PATCH] Don't modify `publicPath` for dev server If, like me, one already has their `publicPath` configured with a leading slash in `webpack.config.js`, adding another slash breaks the configuration. --- gulpfile.js | 1 - 1 file changed, 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index b2cbe02..7519ad8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -69,7 +69,6 @@ gulp.task("webpack-dev-server", function(callback) { // Start a webpack-dev-server new WebpackDevServer(webpack(myConfig), { - publicPath: "/" + myConfig.output.publicPath, stats: { colors: true }