Releases: ionic-team/ionic-app-scripts
3.1.6
v3.1.6 fix(): pin ws version
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
Features
Supports Angular 5
Bug Fixes
- aot: pass genDir to ng4 (7506764)
- config: only read ionic-angular package json for version info in apps, not in the Ionic repo itself (700ca04)
- deep-linking: use .ts file extension for lazy loading in dev mode, and .js in AoT mode since the AoT compiler no longer emits an ngfactory.ts file (dd99f14)
- live-server: content.toString() crash (#1288) (07e7e05)
- templates: escape strings in template (484d90d)
Performance Improvements
3.0.1
3.0.1 (2017-10-20)
Bug Fixes
- cleancss: update to latest version of clean-css to mitigate issue with purging some css that should not be purged (564bd61)
- deep-linking: ensure hasExistingDeepLinkConfig returns true where there is a config referenced by a variable (2e40340)
- deep-linking: ensure the deepLinkDir ends in path.sep (496af40)
- set context right immediately (802b329)
- dev-server: fix for --nolivereload flag to stop reloading (#1200) (d62f5da)
- html: limit regex to only applicable script tags for replacing content (93db0ef)
- proxy: add a cookieRewrite option which is passed to proxy-middleware. (#1226) (771ee63)
- source-maps: fix race condition between copying and purging source maps (f5529b5)
- webpack: always use modules output from webpack to form default basis of where to look for sass files (c199ea4)
3.0.0
Breaking Changes
The webpack
config format changed from being a config that is exported to being a dictionary of configs. Basically, the default config now exports a dev
and prod
property with a config assigned to each. See an example of the change here. This change is setting the stage for adding multiple "environment" support for the next app-scripts release.
New Features
This release adds support for ngo
, the Angular team's build optimizer tool. ngo
is enabled by default on --prod
builds. In the event that ngo
is not working for your app or something goes wrong, it can be disabled by running the following build command.
ionic build ios --aot --minifyjs --minifycss
Using the --aot
flag enables the AoT Compiler
. --minifyjs
and --minifycss
minify the outputted code.
Notes
Version 3.0.0
deprecated support for Rollup, Closure Compiler, and Babili. The support for these was poor and they were not used by many developers. uglifyjs
was replaced with the newer uglifyes
, which supports ES2015.
Bug Fixes
- aot: normalize paths to fix path issues on windows (b766037)
- build: scan deeplink dir too if different from srcDir (8929265)
- deep-linking: convert deep linking to use TS Transform. DeepLinking now works on TypeScript src instead of on transpiled JS code (63c4c7f)
- deep-linking: remove IonicPage import statement in transform/non-transform approachs to work better with strict TS settings (84d9ec7)
- devapp: do not enable shake (#1215) (118189c)
- generators: correct pipes default folder name (f0ea0da)
- ngc: don't replace deeplink config if an existing one exists (eeed98b)
- optimization: removing optimizations in preparation for ngo, updating to latest deps (90eb8b3)
- postprocess: fix and add tests for the logic surrounding purging fonts (0dd1b22)
- sass: include the platforms dir by default (0da47cb)
- transpile: check for existing deep link config before using generated one (c51ac93)
- webpack: when analyzing stats, factor in new shape of ModuleConcatenation info (00cf038)