jueves, 11 de agosto de 2016

Webpack Dev Server visible en la LAN

En el package.json:

...
"scripts": {
    "prestart": "webpack",
    "start": "webpack-dev-server --content-base public/ --port 3000 --host 0.0.0.0",
    "build": "NODE_ENV=production webpack --config webpack.prod.config.js"
  },
...

Referencias