Features
- Global and register transforms now run through Babel and will produce better source maps. Massive thanks to @asapach for rewriting these transformers. (b474ee7, 051deb6)
inlineConditions
build option to automatically inline the resolution of conditions that are fully resolved when bundling (5f57558, f081683)traceConditionModules
build option to specify whether to trace conditional modules themselves in the tree, defaults totrue
allowing an opt-out (87f4d08)bundle
andassetList
plugin phases fully separated (a362009)- Ensure that compile and Rollup run the bundle hook (001803b, 9785944, #517)
- Allow late-pipeline-stage build opt-outs (82b7f0f)
- Externals aliasing will now reverse apply main (5e72725, #648)
- Enable child builds by exposing the builder itself as
System.builder
(f76baac, 7fd5060)
Bug Fixes
- Fix to ensure SFX builds have access to __moduleName, although note that __moduleName is an unreliable concept in SFX builds even with encodeNames: false set (cb94933, #635)
- Fix for plugin syntax throwing No resolution at all for condition... error (c489f2d)
- Fixes a caching bug in the fetch hook (1a6721d)