chore(deps): update dependency esbuild-loader to v4 #99
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.21.0→^4.0.0Release Notes
privatenumber/esbuild-loader (esbuild-loader)
v4.4.2Compare Source
Bug Fixes
v4.4.1Compare Source
Bug Fixes
v4.4.0Compare Source
Bug Fixes
Features
v4.3.0Compare Source
Features
^0.25(#382) (42ec34f)v4.2.2Compare Source
Bug Fixes
tsconfig.jsonedge-cases in dependencies (#377) (e252654)v4.2.1Compare Source
Bug Fixes
v4.2.0Compare Source
Features
^0.21(#374) (53a5966)v4.1.0Compare Source
Features
dynamic-importsby default (#361) (7b948ef)v4.0.3Compare Source
Bug Fixes
Reverts
v4.0.2Compare Source
Bug Fixes
v4.0.1Compare Source
Bug Fixes
Performance Improvements
v4.0.0Compare Source
Bug Fixes
BREAKING CHANGES
v3.2.0Compare Source
Features
v3.1.0Compare Source
Features
v3.0.1Compare Source
Performance Improvements
sourceAndMap()when source maps are enabled (#316) (5c97454)v3.0.0Compare Source
Migration guide
ESBuildMinifyPluginwas renamed toEsbuildPluginto indicate it can be used as a general interface to esbuild (not just a minifier, but transformer).Import
EsbuildPlugininstead:.js,.jsx,.ts,.tsx,.cssfiles, you no longer need to set theloaderoption becauseesbuild-loadercan now detect how to handle them based on the extension. This also means you can consolidateesbuild-loaderrules for different file types into one, rather than hard-coding how to load each extension type.module: { rules: [ { test: /\.[tj]sx?$/, loader: 'esbuild-loader', options: { target: 'es2015', - loader: 'tsx', }, }, ], },You can now use the
tsconfigproperty to pass in a tsconfig file, and it will even resolveextendstsconfig.json
includes/excludes/filesare now respected so it will only apply thetsconfig.jsonto matching files. However, TypeScript compilation will always work regardless oftsconfig.json.If Webpack's target is
web,EsbuildPluginwill default to usingformat: iifeunless otherwise specified. This change was made to prevent window pollution.Make sure your Node.js version is at least v16
Changes
Bug Fixes
Build System
Code Refactoring
sourcemapoption (#305) (53cbc73)ESBuildMinifyPlugintoEsbuildPlugin(#307) (b052cdd)Continuous Integration
Features
tsconfigoption (#311) (92b49e9)formattoiife(a9e8e7e)BREAKING CHANGES
tsconfig.jsonis now only applied to files it matches (viainclude/exclude/files)iifewhen Webpack's target isweb& esbuild's target is belowesnextESBuildMinifyPluginrenamed toEsbuildPlugin;MinifyPluginOptionsrenamed toEsbuildPluginOptionssourcemapoption removedConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.