File tree Expand file tree Collapse file tree 2 files changed +12
-16
lines changed
Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 1313 "projectType" : " application" ,
1414 "architect" : {
1515 "build" : {
16- "builder" : " @angular-devkit/build-angular:application " ,
16+ "builder" : " @angular-devkit/build-angular:browser " ,
1717 "options" : {
18- "outputPath" : {
19- "base" : " dist/ngrx.io"
20- },
18+ "outputPath" : " dist/ngrx.io" ,
2119 "index" : " src/index.html" ,
20+ "main" : " src/main.ts" ,
2221 "tsConfig" : " src/tsconfig.app.json" ,
2322 "outputHashing" : " all" ,
2423 "sourceMap" : true ,
2524 "statsJson" : true ,
2625 "namedChunks" : true ,
27- "polyfills" : [
28- " src/polyfills.ts"
29- ],
26+ "polyfills" : " src/polyfills.ts" ,
3027 "assets" : [
3128 " src/assets" ,
3229 " src/generated" ,
5855 "bundleName" : " light-theme"
5956 }
6057 ],
61- "scripts" : [],
62- "browser" : " src/main.ts"
58+ "scripts" : []
6359 },
6460 "configurations" : {
6561 "fast" : {
7268 "with" : " src/environments/environment.next.ts"
7369 }
7470 ],
75- "serviceWorker" : " ngsw-config.json "
71+ "serviceWorker" : true
7672 },
7773 "stable" : {
7874 "fileReplacements" : [
8177 "with" : " src/environments/environment.stable.ts"
8278 }
8379 ],
84- "serviceWorker" : " ngsw-config.json "
80+ "serviceWorker" : true
8581 },
8682 "archive" : {
8783 "fileReplacements" : [
9086 "with" : " src/environments/environment.archive.ts"
9187 }
9288 ],
93- "serviceWorker" : " ngsw-config.json "
89+ "serviceWorker" : true
9490 }
9591 },
9692 "defaultConfiguration" : " "
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
33// Imports
4- const { readFileSync, writeFileSync} = require ( 'fs' ) ;
5- const { join, resolve} = require ( 'path' ) ;
4+ const { readFileSync, writeFileSync } = require ( 'fs' ) ;
5+ const { join, resolve } = require ( 'path' ) ;
66
77// Constants
88const CI_PREVIEW = process . env . CI_PREVIEW ;
@@ -26,8 +26,8 @@ function _main() {
2626
2727 if ( dst404PageContent === srcIndexContent ) {
2828 throw new Error (
29- 'Failed to generate \'404.html\'. ' +
30- 'The content of \'index.html\' does not match the expected pattern.' ) ;
29+ 'Failed to generate \'404.html\'. ' +
30+ 'The content of \'index.html\' does not match the expected pattern.' ) ;
3131 }
3232
3333 writeFileSync ( dst404PagePath , dst404PageContent ) ;
You can’t perform that action at this time.
0 commit comments