Skip to content

Commit 8157744

Browse files
authored
Default ng-deploy to production (#3474)
1 parent 6604db7 commit 8157744

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/schematics/ng-add.jasmine.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const initialAngularJson = `{
132132
"production": {},
133133
"development": {}
134134
},
135-
"defaultConfiguration": "development"
135+
"defaultConfiguration": "production"
136136
}
137137
}
138138
},
@@ -196,7 +196,7 @@ const overwriteAngularJson = `{
196196
"production": {},
197197
"development": {}
198198
},
199-
"defaultConfiguration": "development"
199+
"defaultConfiguration": "production"
200200
}
201201
}
202202
},
@@ -272,7 +272,7 @@ const projectAngularJson = `{
272272
"production": {},
273273
"development": {}
274274
},
275-
"defaultConfiguration": "development"
275+
"defaultConfiguration": "production"
276276
}
277277
}
278278
},
@@ -294,7 +294,7 @@ const projectAngularJson = `{
294294
"production": {},
295295
"development": {}
296296
},
297-
"defaultConfiguration": "development"
297+
"defaultConfiguration": "production"
298298
}
299299
}
300300
}

src/schematics/setup/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const setupFirebase = (config: {
197197
serveTarget: options.serveTarget?.[1],
198198
}
199199
},
200-
defaultConfiguration: 'development',
200+
defaultConfiguration: 'production',
201201
};
202202

203203
tree.overwrite(workspacePath, JSON.stringify(workspace, null, 2));

0 commit comments

Comments
 (0)