修改默认端口

This commit is contained in:
Taric Xin
2021-11-27 11:30:02 +08:00
parent 5287578452
commit 8e2bd3e502

View File

@ -11,7 +11,7 @@
"scripts": { "scripts": {
"ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng", "ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
"ng": "ng", "ng": "ng",
"start": "ng s -o", "start": "ng s -o --port 4202",
"hmr": "ng s -o --hmr", "hmr": "ng s -o --hmr",
"build": "npm run ng-high-memory build", "build": "npm run ng-high-memory build",
"analyze": "npm run ng-high-memory build -- --source-map", "analyze": "npm run ng-high-memory build -- --source-map",