init
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const BundleTracker = require("webpack-bundle-tracker");
|
||||
|
||||
module.exports = {
|
||||
baseUrl: "http://127.0.0.1:8080/",
|
||||
publicPath: "http://localhost:8080/",
|
||||
outputDir: './dist/',
|
||||
|
||||
chainWebpack: config => {
|
||||
@@ -17,8 +17,8 @@ module.exports = {
|
||||
.set('__STATIC__', 'static')
|
||||
|
||||
config.devServer
|
||||
.public('http://0.0.0.0:8080')
|
||||
.host('0.0.0.0')
|
||||
.public('http://localhost:8080')
|
||||
.host('localhost')
|
||||
.port(8080)
|
||||
.hotOnly(true)
|
||||
.watchOptions({poll: 1000})
|
||||
|
||||
Reference in New Issue
Block a user