Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Mar 14:19
· 13 commits to main since this release
7c5a959

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 without dev or build sub commands, like it was from v1. This release removes that ability. From now on you must call wp-bundler dev or wp-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.