EMH333/esbuild-svelte (esbuild-svelte)
### [`v0.8.0`](https://togithub.com/EMH333/esbuild-svelte/blob/HEAD/CHANGELOG.md#080-Breaking)
[Compare Source](https://togithub.com/EMH333/esbuild-svelte/compare/v0.7.4...v0.8.0)
- **Minorly Breaking** Caching is automatically enabled after two sucessful builds when using the `context` esbuild API
Previously caching was automatically enabled when using the watch or incremental esbuild options, but those were removed in esbuild `v0.17.0`. This change brings back the automatic cache enabling when using the `context` API which supports the same features as the previous watch and incremental options. esbuild does not provide a way for plugins to determine if the `context` API is being used, so this feature is enabled after two successful builds. This should be a reasonable compromise between not enabling the cache at all and enabling it for every build (which wastes time and space if caching isn't needed).
If you are using the `context` API and want to disable the cache, you can set the `cache` option to `false` in the plugin options but this isn't recommended (if you do need to disable the cache for some reason, please open an issue to see if your usecase can be fixed).
- **Minorly Breaking** Add dependency to `@jridgewell/trace-mapping` so error messages are more accurate when using preprocessors ([#83](https://togithub.com/EMH333/esbuild-svelte/issues/83))
If you are using Svelte 4, this doesn't add additional dependencies because that package is already required by Svelte 4.
- Update development esbuild version to `0.19.0`
This means that this plugin now supports additional inhancements when using the `context` esbuild `v0.17.0` API as detailed below.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.7.3
->^0.8.0
Release Notes
EMH333/esbuild-svelte (esbuild-svelte)
### [`v0.8.0`](https://togithub.com/EMH333/esbuild-svelte/blob/HEAD/CHANGELOG.md#080-Breaking) [Compare Source](https://togithub.com/EMH333/esbuild-svelte/compare/v0.7.4...v0.8.0) - **Minorly Breaking** Caching is automatically enabled after two sucessful builds when using the `context` esbuild API Previously caching was automatically enabled when using the watch or incremental esbuild options, but those were removed in esbuild `v0.17.0`. This change brings back the automatic cache enabling when using the `context` API which supports the same features as the previous watch and incremental options. esbuild does not provide a way for plugins to determine if the `context` API is being used, so this feature is enabled after two successful builds. This should be a reasonable compromise between not enabling the cache at all and enabling it for every build (which wastes time and space if caching isn't needed). If you are using the `context` API and want to disable the cache, you can set the `cache` option to `false` in the plugin options but this isn't recommended (if you do need to disable the cache for some reason, please open an issue to see if your usecase can be fixed). - **Minorly Breaking** Add dependency to `@jridgewell/trace-mapping` so error messages are more accurate when using preprocessors ([#83](https://togithub.com/EMH333/esbuild-svelte/issues/83)) If you are using Svelte 4, this doesn't add additional dependencies because that package is already required by Svelte 4. - Update development esbuild version to `0.19.0` This means that this plugin now supports additional inhancements when using the `context` esbuild `v0.17.0` API as detailed below.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.