Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Commit 0bc801b

Browse files
tkruggfrancoischalifour
authored andcommitted
fix(angular): add prod param to build command (#278)
1 parent 520600e commit 0bc801b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/__snapshots__/e2e-templates.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ exports[`Templates Angular InstantSearch File content: package.json 1`] = `
250250
\\"scripts\\": {
251251
\\"ng\\": \\"ng\\",
252252
\\"start\\": \\"ng serve --port 3000\\",
253-
\\"build\\": \\"ng build\\",
253+
\\"build\\": \\"ng build --prod\\",
254254
\\"test\\": \\"ng test\\",
255255
\\"lint\\": \\"ng lint\\",
256256
\\"e2e\\": \\"ng e2e\\"

src/templates/Angular InstantSearch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"ng": "ng",
77
"start": "ng serve --port 3000",
8-
"build": "ng build",
8+
"build": "ng build --prod",
99
"test": "ng test",
1010
"lint": "ng lint",
1111
"e2e": "ng e2e"

0 commit comments

Comments
 (0)