|
@@ -4,7 +4,6 @@ const webpack = require('webpack')
|
|
const merge = require('webpack-merge')
|
|
const merge = require('webpack-merge')
|
|
const baseConfig = require('./webpack.config.base')
|
|
const baseConfig = require('./webpack.config.base')
|
|
|
|
|
|
-const HOST = 'localhost'
|
|
|
|
const PORT = 8080
|
|
const PORT = 8080
|
|
|
|
|
|
module.exports = merge(baseConfig, {
|
|
module.exports = merge(baseConfig, {
|
|
@@ -15,7 +14,7 @@ module.exports = merge(baseConfig, {
|
|
hot: true,
|
|
hot: true,
|
|
contentBase: 'dist',
|
|
contentBase: 'dist',
|
|
compress: true,
|
|
compress: true,
|
|
- host: HOST,
|
|
|
|
|
|
+ host: '0.0.0.0',
|
|
port: PORT,
|
|
port: PORT,
|
|
// open: "firefox-developer-edition",
|
|
// open: "firefox-developer-edition",
|
|
overlay: { warnings: false, errors: true },
|
|
overlay: { warnings: false, errors: true },
|