6.15.0
This release is mostly focused on maintaining and improving existing features. The one new feature lets you opt-out of externalizing certain WordPress dependencies (if you are using @roots/bud-preset-wordpress or @roots/sage). For more information check out the updated @roots/bud-preset-wordpress docs.
⚠️ Potentially breaking change
@roots/sage: previously bud.splitChunks('single')
was called for production builds. This is no longer the default for two reasons:
- If you have an editor entrypoint and an app entrypoint (common), it is possible that editor dependencies could be extracted into the common chunk. This can lead to Acorn enqueuing those dependencies for both
app
andeditor
, even if they were only used in one (since the shared vendor module contains references to the dependencies). - This is very easy to address as part of your application and that approach is preferred. Especially now that top-level async/await is available for bud.js application modules.
- If you really want a vendors chunk, just call
bud.splitChunks()
or pass the--splitChunks
flag.
What's Changed
- 📕 docs: improve docs by @kellymears in #2368
- 🩹 fix(patch): register command type error after extension uninstall by @kellymears in #2372
- 👍🏼 improve(minor): internals & tests by @kellymears in #2373
- 🧹 chore(none): cleanup by @kellymears in #2376
- 📦 deps(patch): bump vitest from 0.32.2 to 0.33.0 by @dependabot in #2375
- 📦 deps(deps): bump @babel/core from 7.22.5 to 7.22.9 by @dependabot in #2374
- 📦 deps(deps): bump ts-loader from 9.4.3 to 9.4.4 by @dependabot in #2356
- 📦 deps(deps): bump @babel/runtime from 7.22.5 to 7.22.6 by @dependabot in #2355
- 📦 deps(minor): upgrade by @kellymears in #2377
- 🩹 fix(none): readme generation by @kellymears in #2378
- 🩹 fix(none): nightly release by @kellymears in #2383
- 🩹 fix: parallelism by @kellymears in #2386
- 👍🏼 improve: build performance by @kellymears in #2387
- 📦 deps(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #2384
- 📦 deps(deps): bump esbuild from 0.18.13 to 0.18.14 by @dependabot in #2379
- 👍🏼 improve: error handling by @kellymears in #2388
- 📦 deps(deps): bump esbuild-wasm from 0.18.13 to 0.18.14 by @dependabot in #2380
- ✨ feat(minor): configurable wordpress externals by @kellymears in #2389
- 🩹 fix(patch):
--editor
warning when--editor
not used by @kellymears in #2390 - 🩹 fix(patch): multi-compiler uncaught errors in dev by @kellymears in #2392
- 📕 docs: fix @roots/bud-sass installation docs by @xeader in #2391
- ✨ improve: stricter typings by @kellymears in #2393
- 🗂️ types(patch): strict typings by @kellymears in #2394
- ✨ improve: typings & tests by @kellymears in #2395
- 🗂️ types(none): improve typechecking by @kellymears in #2396
- 📕 docs(none): wordpress enqueues by @kellymears in #2397
- 🩹 fix(patch): fix casing in dashboard of Dev by @kellymears in #2398
- ✨ improve(minor): no split chunks (@roots/sage) by @kellymears in #2399
New Contributors
Full Changelog: v6.14.3...v6.15.0