mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build(devtools): use ng-dev stamp tooling to stamp the latest git SHA in devtools
Previously, we were using ngx-build-plus with a custom webpack config to determine the git SHA at runtime. Now, after migrating to bazel and transfering to angular/angular, this commit uses ng-dev to stamp the latest git SHA directly in angular devtools' application environment. This commit also removes the old webpack configs.
This commit is contained in:
@@ -73,10 +73,6 @@
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.e2e.ts"
|
||||
},
|
||||
{
|
||||
"replace": "src/app/app.module.ts",
|
||||
"with": "src/app/app.e2e.module.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -85,7 +81,6 @@
|
||||
"serve": {
|
||||
"builder": "ngx-build-plus:dev-server",
|
||||
"options": {
|
||||
"extraWebpackConfig": "shell-dev-webpack.config.js",
|
||||
"browserTarget": "shell-dev:build"
|
||||
},
|
||||
"configurations": {
|
||||
@@ -154,7 +149,6 @@
|
||||
"builder": "ngx-build-plus:browser",
|
||||
"options": {
|
||||
"outputPath": "dist/shell-chrome",
|
||||
"extraWebpackConfig": "projects/shell-chrome/shell-chrome-webpack.config.js",
|
||||
"index": "projects/shell-chrome/src/index.html",
|
||||
"main": "projects/shell-chrome/src/main.ts",
|
||||
"polyfills": "projects/shell-chrome/src/polyfills.ts",
|
||||
|
||||
Reference in New Issue
Block a user