From ab30818a501022b04e4862b65ee3dc70973d508f Mon Sep 17 00:00:00 2001 From: Damien Date: Tue, 23 Jan 2018 13:32:13 +0000 Subject: [PATCH 1/2] Fixes Webpack not wanting to load or show files --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 0178162d6..97d97655c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -45,7 +45,7 @@ module.exports = function makeWebpackConfig() { // Output path from the view of the page // Uses webpack-dev-server in development - publicPath: isProd ? '/' : 'http://localhost:8080/', + publicPath: isProd ? '/' : 'http://0.0.0.0:8080/', // Filename for entry points // Only adds hash in build mode From 67fd6223111fd16d54a3e327a11ad86db73a8ec7 Mon Sep 17 00:00:00 2001 From: Damien Date: Tue, 23 Jan 2018 13:49:13 +0000 Subject: [PATCH 2/2] Configures Dev Server Host to match other config --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 97d97655c..e5a409f1c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -217,7 +217,8 @@ module.exports = function makeWebpackConfig() { */ config.devServer = { contentBase: './src/public', - stats: 'minimal' + stats: 'minimal', + host: '0.0.0.0' }; return config;