]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Updated build instructions to remove --prod 2334/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Tue, 3 Jan 2023 16:17:12 +0000 (08:17 -0800)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Tue, 3 Jan 2023 16:17:12 +0000 (08:17 -0800)
docs/development.md
src-ui/README.md
src-ui/src/environments/environment.ts

index d36cd12ed26fe10357f759e0cb7f00bc87d2d1df..7515406f46b59ac3a6a2b31c1bdff3a48e0bd2e2 100644 (file)
@@ -248,7 +248,7 @@ Testing and code style:
 In order to build the front end and serve it as part of django, execute
 
 ```shell-session
-$ ng build --prod
+$ ng build --configuration production
 ```
 
 This will build the front end and put it in a location from which the
index 568ba0874e87068f8493ee4b8381155c874c741a..0eb379956444fc45ce06d396476ce76e72b4c9cf 100644 (file)
@@ -12,7 +12,7 @@ Run `ng generate component component-name` to generate a new component. You can
 
 ## Build
 
-Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
+Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--configuration production` flag for a production build.
 
 ## Running unit tests
 
index 4386bef1ef1d516496d245b44e37734c50640b7b..b4af67c2581fb33891ca22ec9bcd6ceabd337e17 100644 (file)
@@ -1,5 +1,5 @@
 // This file can be replaced during build by using the `fileReplacements` array.
-// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
+// `ng build --configuration production` replaces `environment.ts` with `environment.prod.ts`.
 // The list of file replacements can be found in `angular.json`.
 
 export const environment = {