Skip to content

Commit 569ab96

Browse files
fix: fix bundle error
1 parent 9d35fbb commit 569ab96

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ npm run lint
2525

2626
### 代理配置
2727
本地开发通过proxy配置http请求到 3000端口的server端
28+
29+
### postinstall
30+
[fix generating es5 bundles error ,count not find plugin "proposal-numeric-separator"](http://github.com/angular/angular-cli/issues/17262)

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "ng build --prod",
88
"test": "ng test",
99
"lint": "ng lint",
10-
"e2e": "ng e2e"
10+
"e2e": "ng e2e",
11+
"postinstall": "npm install @babel/compat-data@7.8.0"
1112
},
1213
"private": true,
1314
"dependencies": {
@@ -19,6 +20,7 @@
1920
"@angular/platform-browser": "~8.2.14",
2021
"@angular/platform-browser-dynamic": "~8.2.14",
2122
"@angular/router": "~8.2.14",
23+
"@babel/compat-data": "^7.8.0",
2224
"@devui-design/icons": "^1.0.0",
2325
"codemirror": "^5.52.0",
2426
"echarts": "^4.6.0",

0 commit comments

Comments
 (0)