v4.0.0
Major Changes
-
Make project esm only (by @adambrgmn in #66)
This project is now esm only. Generally it shouldn't affect you that much. But if you plan on building something on top of wp-bundler, using the exposed interfaces you need to be aware of this fact.
-
Remove ability to call wp-bundler without sub commands (by @adambrgmn in #69)
Previously we allowed calling
wp-bundler
withoutdev
orbuild
sub commands, like it was from v1. This release removes that ability. From now on you must callwp-bundler dev
orwp-bundler build
.
Minor Changes
-
Move away from multibundler setup (by @adambrgmn in #69)
Previously we initiated two separate esbuild process to build the modern and legacy outputs. This meant we had no way to output a good asset loader witouth waiting for both of the outputs to be done and merge them.
With this approach the legacy output is moving into the main process again. Something that will speed up and make out lives much easier in the future.