File tree Expand file tree Collapse file tree 4 files changed +31
-2
lines changed
Expand file tree Collapse file tree 4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 2222 run : npm ci
2323
2424 - name : Build Angular app
25- run : npm run build:pages
25+ run : npm run build:pages2
2626
2727 - name : Deploy to GitHub Pages
2828 uses : JamesIves/github-pages-deploy-action@v4
Original file line number Diff line number Diff line change 118118 }
119119 ]
120120 },
121+ "pages2" : {
122+ "budgets" : [
123+ {
124+ "type" : " anyComponentStyle" ,
125+ "maximumWarning" : " 6kb"
126+ }
127+ ],
128+ "optimization" : true ,
129+ "outputHashing" : " all" ,
130+ "sourceMap" : false ,
131+ "namedChunks" : false ,
132+ "extractLicenses" : true ,
133+ "fileReplacements" : [
134+ {
135+ "replace" : " src/environments/environment.ts" ,
136+ "with" : " src/environments/environment.pages2.ts"
137+ }
138+ ]
139+ },
121140 "nas" : {
122141 "budgets" : [
123142 {
177196 },
178197 "pages" : {
179198 "buildTarget" : " text-compare-angular:build:pages"
199+ },
200+ "pages2" : {
201+ "buildTarget" : " text-compare-angular:build:pages2"
180202 },
181203 "nas" : {
182204 "buildTarget" : " text-compare-angular:build:nas"
Original file line number Diff line number Diff line change 1919 "build:azure" : " ng build --configuration azure" ,
2020 "build:netlify" : " ng build --configuration netlify" ,
2121 "build:render" : " ng build --configuration render" ,
22- "build:pages" : " ng build --configuration pages --base-href /text-compare-angular/ --deploy-url /text-compare-angular/" ,
22+ "build:pages" : " ng build --configuration pages" ,
23+ "build:pages2" : " ng build --configuration pages --base-href /text-compare-angular/ --deploy-url /text-compare-angular/" ,
2324 "build:nas" : " ng build --configuration nas" ,
2425 "build:cross:env" : " rimraf dist compiled && cross-env SOURCE_MAP=0 ng build --configuration production" ,
2526 "test" : " ng test" ,
Original file line number Diff line number Diff line change 1+ export const environment = {
2+ production : true ,
3+ envName : 'GitHub Pages' ,
4+ baseHref : '/text-compare-angular/' ,
5+ monacoBaseUrl : '/text-compare-angular/assets/monaco/min/vs'
6+ } ;
You can’t perform that action at this time.
0 commit comments