- LC precompiled for Unix and Win32 systems.
- The module graph is implemented as a map in the form
Map<string, ModuleInterface>. - New dynamic imports implementation.
onAfterTransformevent takesmodas a parameter and nottransformedContent.- Deprecate
onSuccessevent in favor ofonBundleComplete. onBundleCompleteevent takesconfigandmoduleGraphas parameters.onEndevent has been deprecated foronBundleComplete.packem.config.ymldeprecated for.packemrc..packemrcnow takesmodeandformatfields.- Codesplit duplicate modules into a seperate bundle
bundle.commons.js - Fail on requiring built-in Node modules in a non-CommonJS mode.
- Serializer:
- Multiple output formats support for:
iife: A self-executing function, suitable for inclusion into a browser env as a<script>tag.cjs: CommonJS, suitable for Node and other bundlers to consume.
- Multiple output formats support for:
- Default
config.outputPathsetting is"./build". - Multiple inputs support.
- Fix Packem runtime. Main input should load common dependencies.
- Multiple runtimes
- CommonJS runtime (for NodeJS target).