This repository was archived by the owner on May 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -167,16 +167,13 @@ These tasks are available within `ionic-app-scripts` and can be added to npm scr
167167
168168| Task | Description |
169169| ------------| -----------------------------------------------------------------------------------------------------|
170- | ` build ` | Full production build. Use ` --dev ` flag for dev build. |
171- | ` bundle ` | Bundle JS modules. |
172- | ` clean ` | Empty the ` www ` directory. |
170+ | ` build ` | A complete build of the application. It uses ` development ` settings by default. Use ` --prod ` to create an optimized build |
171+ | ` clean ` | Empty the ` www/build ` directory. |
173172| ` cleancss ` | Compress the output CSS with [ CleanCss] ( https://github.com/jakubpawlowicz/clean-css ) |
174173| ` copy ` | Run the copy tasks, which by defaults copies the ` src/assets/ ` and ` src/index.html ` files to ` www ` . |
175174| ` lint ` | Run the linter against the source ` .ts ` files, using the ` tslint.json ` config file at the root. |
176175| ` minify ` | Minifies the output JS bundle and compresses the compiled CSS. |
177- | ` ngc ` | Runs just the ` ngc ` portion of the production build. |
178176| ` sass ` | Sass compilation of used modules. Bundling must have as least ran once before Sass compilation. |
179- | ` transpile ` | Runs just the ` tsc ` portion of the dev build. |
180177| ` watch ` | Runs watch for dev builds. |
181178
182179Example NPM Script:
You can’t perform that action at this time.
0 commit comments