Skip to content

Commit

Permalink
fix(webpack): allow webpack app to run inside docker container
Browse files Browse the repository at this point in the history
Change "localhost" in run.ext in the webpack template for the webpack server, so that it could also be accessible when running inside a docker container.
  • Loading branch information
shahabganji committed Jun 19, 2019
1 parent 2444bd9 commit 263b2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeleton/webpack/aurelia_project/tasks/run.ext
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {CLIOptions, reportWebpackReadiness} from 'aurelia-cli';
function runWebpack(done) {
// https://webpack.github.io/docs/webpack-dev-server.html
let opts = {
host: 'localhost',
host: '0.0.0.0',
publicPath: config.output.publicPath,
filename: config.output.filename,
hot: project.platform.hmr || CLIOptions.hasFlag('hmr'),
Expand Down

0 comments on commit 263b2c2

Please sign in to comment.