This is an automated email from the ASF dual-hosted git repository.
zhaocong pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
The following commit(s) were added to refs/heads/master by this push:
new 64b9b355 feat(hubble): display packaging log output progress while
building (#380)
64b9b355 is described below
commit 64b9b355e4e2a11678c75153d746b31c22a508b5
Author: wanganjuan <[email protected]>
AuthorDate: Fri Nov 25 14:25:48 2022 +0800
feat(hubble): display packaging log output progress while building (#380)
---
hugegraph-hubble/hubble-fe/config-overrides.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hugegraph-hubble/hubble-fe/config-overrides.js
b/hugegraph-hubble/hubble-fe/config-overrides.js
index 7f7fba57..8198a945 100644
--- a/hugegraph-hubble/hubble-fe/config-overrides.js
+++ b/hugegraph-hubble/hubble-fe/config-overrides.js
@@ -3,9 +3,10 @@ const {
addLessLoader,
addWebpackAlias,
overrideDevServer,
- watchAll
+ watchAll,
+ addWebpackPlugin
} = require('customize-cra');
-
+const { ProgressPlugin } = require("webpack")
const addProxy = () => (configFunction) => {
configFunction.proxy = {
'/about': {
@@ -28,7 +29,8 @@ module.exports = {
}),
addWebpackAlias({
'hubble-ui': require('path').resolve(__dirname,
'./src/components/hubble-ui')
- })
+ }),
+ addWebpackPlugin(new ProgressPlugin()),
),
devServer: overrideDevServer(addProxy(), watchAll())
};