Skip to content

Commit 3b2f242

Browse files
authored
Merge pull request #92 from damien-mcmahon/master
Fixes Webpack not wanting to loading or show files
2 parents 52ccf99 + 67fd622 commit 3b2f242

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

webpack.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = function makeWebpackConfig() {
4545

4646
// Output path from the view of the page
4747
// Uses webpack-dev-server in development
48-
publicPath: isProd ? '/' : 'http://localhost:8080/',
48+
publicPath: isProd ? '/' : 'http://0.0.0.0:8080/',
4949

5050
// Filename for entry points
5151
// Only adds hash in build mode
@@ -217,7 +217,8 @@ module.exports = function makeWebpackConfig() {
217217
*/
218218
config.devServer = {
219219
contentBase: './src/public',
220-
stats: 'minimal'
220+
stats: 'minimal',
221+
host: '0.0.0.0'
221222
};
222223

223224
return config;

0 commit comments

Comments
 (0)