File tree Expand file tree Collapse file tree 4 files changed +28
-1
lines changed
Expand file tree Collapse file tree 4 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 2626 - name : npm install, build, and test
2727 run : |
2828 npm install
29- npm run build
29+ npm run build:azure
3030 npm run test:headless
3131
3232 - name : Upload artifact for deployment job
Original file line number Diff line number Diff line change 4242 "browser" : " src/main.ts"
4343 },
4444 "configurations" : {
45+ "azure" : {
46+ "budgets" : [
47+ {
48+ "type" : " anyComponentStyle" ,
49+ "maximumWarning" : " 6kb"
50+ }
51+ ],
52+ "optimization" : true ,
53+ "outputHashing" : " all" ,
54+ "sourceMap" : false ,
55+ "namedChunks" : false ,
56+ "extractLicenses" : true ,
57+ "fileReplacements" : [
58+ {
59+ "replace" : " src/environments/environment.ts" ,
60+ "with" : " src/environments/environment.azure.ts"
61+ }
62+ ]
63+ },
4564 "nas" : {
4665 "budgets" : [
4766 {
90109 "buildTarget" : " text-compare-angular:build"
91110 },
92111 "configurations" : {
112+ "azure" : {
113+ "buildTarget" : " text-compare-angular:build:azure"
114+ },
93115 "nas" : {
94116 "buildTarget" : " text-compare-angular:build:nas"
95117 },
Original file line number Diff line number Diff line change 1212 "start:nas" : " ng serve --configuration nas" ,
1313 "start:mock" : " node server.js" ,
1414 "build" : " ng build --configuration production" ,
15+ "build:azure" : " ng build --configuration azure" ,
1516 "build:nas" : " ng build --configuration nas" ,
1617 "build:cross:env" : " rimraf dist compiled && cross-env SOURCE_MAP=0 ng build --configuration production" ,
1718 "test" : " ng test" ,
Original file line number Diff line number Diff line change 1+ export const environment = {
2+ production : true ,
3+ env_name : 'Azure'
4+ } ;
You can’t perform that action at this time.
0 commit comments