From 91d250af7a63b299a36a3552b10d8070348bff12 Mon Sep 17 00:00:00 2001 From: Megh Parikh Date: Thu, 30 Jun 2016 21:29:56 +0530 Subject: [PATCH] Pass publicPath to Webpack dev server This allows us to have the dev server running on for a subpath instead of the domain --- dev.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dev.js b/dev.js index 8a59a29..228cf0e 100644 --- a/dev.js +++ b/dev.js @@ -13,6 +13,7 @@ module.exports = function (config, options) { var server = new WebpackDevServer(compiler, { contentBase: config.output.path, + publicPath: config.output.publicPath, historyApiFallback: true, watchOptions: {