diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-06-18 09:57:09 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-18 02:57:09 +0200 |
commit | 53e42bf91ef2c705168f8d04b9374c349ec14074 (patch) | |
tree | 564d8607ee6fd7ac27979d157b261c038e9fad61 /config/webpack/development.server.js | |
parent | 94d0e012dea89058b9c059636fb6d42f6565e534 (diff) |
Upgrade Webpacker to version 2.0 (#3729)
Diffstat (limited to 'config/webpack/development.server.js')
-rw-r--r-- | config/webpack/development.server.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/config/webpack/development.server.js b/config/webpack/development.server.js deleted file mode 100644 index 8e8a399e8..000000000 --- a/config/webpack/development.server.js +++ /dev/null @@ -1,20 +0,0 @@ -// Note: You must restart bin/webpack-dev-server for changes to take effect - -const { resolve } = require('path'); -const { env } = require('process'); -const merge = require('webpack-merge'); -const devConfig = require('./development.js'); -const { devServer, publicPath, paths } = require('./configuration.js'); - -module.exports = merge(devConfig, { - devServer: { - host: env.LOCAL_DOMAIN ? '0.0.0.0' : devServer.host, - port: devServer.port, - headers: { 'Access-Control-Allow-Origin': '*' }, - compress: true, - historyApiFallback: true, - contentBase: resolve(paths.output, paths.entry), - publicPath, - disableHostCheck: true, - }, -}); |