You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by yo...@apache.org on 2021/05/12 11:46:34 UTC
[superset] 01/01: chore: add devserverHost config item to
webpack.config.js
This is an automated email from the ASF dual-hosted git repository.
yongjiezhao pushed a commit to branch add_webpack_host_conf
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 7388b40b5b96aad2bd5d44b1988466545aae4279
Author: Yongjie Zhao <yo...@gmail.com>
AuthorDate: Mon Mar 15 13:35:38 2021 +0000
chore: add devserverHost config item to webpack.config.js
---
superset-frontend/webpack.config.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index f39424c..2d77afe 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -43,6 +43,7 @@ const ROOT_DIR = path.resolve(__dirname, '..');
const {
mode = 'development',
devserverPort = 9000,
+ devserverHost = 'localhost',
measure = false,
analyzeBundle = false,
analyzerPort = 8888,
@@ -469,6 +470,7 @@ if (isDevMode) {
inline: true,
stats: 'minimal',
overlay: true,
+ host: devserverHost,
port: devserverPort,
// Only serves bundled files from webpack-dev-server
// and proxy everything else to Superset backend