|
| 1 | +<a name="0.0.47"></a> |
| 2 | +## [0.0.47](https://github.com/driftyco/ionic-app-scripts/compare/v0.0.46...v0.0.47) (2016-12-12) |
| 3 | + |
| 4 | +### Upgrade Instructions |
| 5 | + |
| 6 | +Delete `main.dev.ts` and `main.prod.ts` and create a `main.ts` file with the following content: |
| 7 | + |
| 8 | +``` |
| 9 | +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; |
| 10 | +
|
| 11 | +import { AppModule } from './app.module'; |
| 12 | +
|
| 13 | +platformBrowserDynamic().bootstrapModule(AppModule); |
| 14 | +``` |
| 15 | + |
| 16 | +Change `ionic_source_map` to `ionic_source_map_type` in package.json if it is overridden. |
| 17 | + |
| 18 | +There were significant improvements/changes to most configs. Please review the changes and make sure any custom configs are up to date. |
| 19 | + |
| 20 | +### Breaking Changes |
| 21 | +1. `main.dev.ts` and `main.prod.ts` have been deprecated in favor of `main.ts` with the content of `main.dev.ts`. The content of `main.ts` will be optimized at build time for production builds. |
| 22 | +2. `copy.config` and `watch.config` have breaking changes moving to an easier-to-extend configuration style. |
| 23 | +3. `copy.config` uses `node-glob` instead of `fs-extra` to do the copy. Migrate from directory/files to globs in any custom configs. |
| 24 | +4. `ionic_source_map` configuration has been changed to `ionic_source_map_type`. |
| 25 | +5. Source maps now use `source-map` devtool option by default instead of `eval`. Change `ionic_source_map_type` option to return to the faster building `eval`. |
| 26 | + |
| 27 | +### Bug Fixes |
| 28 | + |
| 29 | +* **AoT:** dynamically enable prod mode for AoT builds ([0594803](https://github.com/driftyco/ionic-app-scripts/commit/0594803)) |
| 30 | +* **AoT:** use in-memory data store instead of .tmp directory for AoT codegen ([93106ff](https://github.com/driftyco/ionic-app-scripts/commit/93106ff)) |
| 31 | +* **build:** every build should run clean sync and copy async. ([6d4eb6e](https://github.com/driftyco/ionic-app-scripts/commit/6d4eb6e)) |
| 32 | +* **copy:** Resolve race condition in copy task, move to glob config ([cc99a73](https://github.com/driftyco/ionic-app-scripts/commit/cc99a73)) |
| 33 | +* **lab:** add lab to files ([f42c980](https://github.com/driftyco/ionic-app-scripts/commit/f42c980)) |
| 34 | +* **livereload:** livereload now correctly serves cordova plugins on run and emulate. ([a0c3f5d](https://github.com/driftyco/ionic-app-scripts/commit/a0c3f5d)) |
| 35 | +* **livereload:** on project build all pages connected should reload. ([#513](https://github.com/driftyco/ionic-app-scripts/issues/513)) ([62d6b23](https://github.com/driftyco/ionic-app-scripts/commit/62d6b23)) |
| 36 | +* **livereload:** use localhost instead of 0.0.0.0 when injecting live reload script ([#450](https://github.com/driftyco/ionic-app-scripts/issues/450)) ([7f8a0c3](https://github.com/driftyco/ionic-app-scripts/commit/7f8a0c3)) |
| 37 | +* **logging:** remove unnecessary websocket error msg, clean up copy error msg ([1517b06](https://github.com/driftyco/ionic-app-scripts/commit/1517b06)) |
| 38 | +* **ngc:** simpler AoT error reporting ([1b0f163](https://github.com/driftyco/ionic-app-scripts/commit/1b0f163)) |
| 39 | +* **serve:** add flag to indicate to serve for a cordova app ([93782e7](https://github.com/driftyco/ionic-app-scripts/commit/93782e7)) |
| 40 | +* **source-maps:** use detailed source-map as default, fix windows path issue ([19464b3](https://github.com/driftyco/ionic-app-scripts/commit/19464b3)) |
| 41 | +* **workers:** generate context in worker threads ([af036ec](https://github.com/driftyco/ionic-app-scripts/commit/af036ec)) |
| 42 | + |
| 43 | + |
| 44 | +### Features |
| 45 | + |
| 46 | +* **build:** replace --dev flag with --prod and add flags --aot, --minifyJs, --minifyCss, --optimizeJs ([99922ce](https://github.com/driftyco/ionic-app-scripts/commit/99922ce)) |
| 47 | +* **bundle:** pre and post bundle hooks ([4835550](https://github.com/driftyco/ionic-app-scripts/commit/4835550)) |
| 48 | +* **copy:** update copy config to move web workers ([a909fc4](https://github.com/driftyco/ionic-app-scripts/commit/a909fc4)) |
| 49 | +* **lab:** fresh coat of paint ([edb6f09](https://github.com/driftyco/ionic-app-scripts/commit/edb6f09)) |
| 50 | +* **replacePathVars:** support interpolation of objects and arrays ([#449](https://github.com/driftyco/ionic-app-scripts/issues/449)) ([e039d46](https://github.com/driftyco/ionic-app-scripts/commit/e039d46)) |
| 51 | +* all arguments passed should be compared as case insensitive ([085c897](https://github.com/driftyco/ionic-app-scripts/commit/085c897)) |
| 52 | + |
| 53 | + |
| 54 | + |
1 | 55 | <a name="0.0.46"></a>
|
2 | 56 | ## [0.0.46](https://github.com/driftyco/ionic-app-scripts/compare/v0.0.44...v0.0.46) (2016-11-21)
|
3 | 57 |
|
|
0 commit comments