spriting can be enabled or disabled with --sprite-images or --no-sprite-images
defaults to off for the simulator, on for all other builds
image compression provided by imagemin in release builds
--[no]-compress toggles compression of both js and image compression
--[no]-compress-images toggles compression of image compression
options stack, e.g. for a release build, --no-compress --compress-images disables js compression only
spriting and image compression now take advantage of extra cpu cores (if available) for faster operation
simulator builds do not use spritesheets to take advantage of browser cache
builds preserve modified timestamps of copied files
cache directories are now in build/cache rather than in the output directory to make it easier to use the output directory without cleaning it first
browser builds do not force power-of-two spritesheet sizes
android
--install and --open now operate on all connected android devices
--min-sdk-version VERSION and --target-sdk-version VERSION let you increase the min/target sdk versions from the default that devkit uses
build process changes for devkit module authors:
bootstrap code updated for browser builds
new GC_LOADER object controls the loading of the page with a pipeline of functions that execute before the main script payload executes
modules can insert code using config.browser.footerHTML to block the load of the page using GC_LOADER.addStep(name, cb) or modify the GC_LOADER.pipeline directly. cb functions may return a Promise to block the call of the next item in the pipeline.
refactors build code to use streams rather than custom flows
changes:
--application-cache
to re-enable--no-web-app-manifest
to disable--sprite-images
or--no-sprite-images
imagemin
in release builds--[no]-compress
toggles compression of both js and image compression--[no]-compress-images
toggles compression of image compression--no-compress --compress-images
disables js compression onlybuild/cache
rather than in the output directory to make it easier to use the output directory without cleaning it first--install
and--open
now operate on all connected android devices--min-sdk-version VERSION
and--target-sdk-version VERSION
let you increase the min/target sdk versions from the default that devkit usesbuild process changes for devkit module authors:
GC_LOADER
object controls the loading of the page with a pipeline of functions that execute before the main script payload executesconfig.browser.footerHTML
to block the load of the page usingGC_LOADER.addStep(name, cb)
or modify theGC_LOADER.pipeline
directly.cb
functions may return aPromise
to block the call of the next item in the pipeline.