Skip to content

Commit

Permalink
Merge pull request #92 from damien-mcmahon/master
Browse files Browse the repository at this point in the history
Fixes Webpack not wanting to loading or show files
  • Loading branch information
phra committed Feb 9, 2018
2 parents 52ccf99 + 67fd622 commit 3b2f242
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.config.js
Expand Up @@ -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
Expand Down Expand Up @@ -217,7 +217,8 @@ module.exports = function makeWebpackConfig() {
*/
config.devServer = {
contentBase: './src/public',
stats: 'minimal'
stats: 'minimal',
host: '0.0.0.0'
};

return config;
Expand Down

0 comments on commit 3b2f242

Please sign in to comment.