You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit abc1bed
Browse filesBrowse the repository at this point in the historyBrowse files
#### Prod and dev mode modifications (ngw.config.ts)
71
+
72
+
```ts
73
+
exportdefaultfunction(config, options) {
74
+
//common config modification
75
+
...
76
+
switch(options.buildOptions.enviroment) {
77
+
case'prod':
78
+
config=productionModificationsMerged(config);
79
+
break
80
+
case'dev':
81
+
//etc
82
+
}
83
+
}
84
+
```
85
+
86
+
70
87
## Caution
71
88
72
89
For complex cases it's more appropriate to use `ng eject` command. Default building process could be changed significanlty in further `@angular/cli` releases so your customization could break (or became broken).
0 commit comments