Skip to content

Commit

Permalink
Default ng-deploy to production (#3474)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdaniels committed Dec 7, 2023
1 parent 6604db7 commit 8157744
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/schematics/ng-add.jasmine.ts
Expand Up @@ -132,7 +132,7 @@ const initialAngularJson = `{
"production": {},
"development": {}
},
"defaultConfiguration": "development"
"defaultConfiguration": "production"
}
}
},
Expand Down Expand Up @@ -196,7 +196,7 @@ const overwriteAngularJson = `{
"production": {},
"development": {}
},
"defaultConfiguration": "development"
"defaultConfiguration": "production"
}
}
},
Expand Down Expand Up @@ -272,7 +272,7 @@ const projectAngularJson = `{
"production": {},
"development": {}
},
"defaultConfiguration": "development"
"defaultConfiguration": "production"
}
}
},
Expand All @@ -294,7 +294,7 @@ const projectAngularJson = `{
"production": {},
"development": {}
},
"defaultConfiguration": "development"
"defaultConfiguration": "production"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/schematics/setup/index.ts
Expand Up @@ -197,7 +197,7 @@ export const setupFirebase = (config: {
serveTarget: options.serveTarget?.[1],
}
},
defaultConfiguration: 'development',
defaultConfiguration: 'production',
};

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

0 comments on commit 8157744

Please sign in to comment.