Skip to content

Update dependency esbuild-loader to v4#81

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/esbuild-loader-4.x
Open

Update dependency esbuild-loader to v4#81
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/esbuild-loader-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 9, 2023

This PR contains the following updates:

Package Change Age Confidence
esbuild-loader 2.21.04.4.3 age confidence

Release Notes

privatenumber/esbuild-loader (esbuild-loader)

v4.4.3

Compare Source

Bug Fixes

v4.4.2

Compare Source

Bug Fixes
  • warn when define is used with eval-based devtools (dfec00d)

v4.4.1

Compare Source

Bug Fixes

v4.4.0

Compare Source

Bug Fixes
  • defer to default get-tsconfig cache to pass type-check (aa4b79d)
  • remove incorrect tsconfig include pattern warning (#​1) (c5cd779)
Features

v4.3.0

Compare Source

Features

v4.2.2

Compare Source

Bug Fixes

v4.2.1

Compare Source

Bug Fixes
  • explicitly import webpack as type (3dd1107)

v4.2.0

Compare Source

Features

v4.1.0

Compare Source

Features

v4.0.3

Compare Source

Bug Fixes
Reverts

v4.0.2

Compare Source

Bug Fixes
  • plugin: mark assets as minimized only when minified (#​338) (a5fddd0)

v4.0.1

Compare Source

Bug Fixes
  • prevent webpack-merge from cloning (7d6e482)
Performance Improvements
  • upgrade get-tsconfig with caching (544f4bd)

v4.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • tsconfig: tsconfig passed in by path is now applied regardless of whether it matches
  • plugin: No longer minifies when used in "plugin". Use in "minimizer" to enable minification by default.

v3.2.0

Compare Source

Features

v3.1.0

Compare Source

Features

v3.0.1

Compare Source

Performance Improvements
  • only call sourceAndMap() when source maps are enabled (#​316) (5c97454)

v3.0.0

Compare Source

Migration guide

  • ESBuildMinifyPlugin was renamed to EsbuildPlugin to indicate it can be used as a general interface to esbuild (not just a minifier, but transformer).
    Import EsbuildPlugin instead:
- const { ESBuildMinifyPlugin } = require('esbuild-loader')
+ const { EsbuildPlugin } = require('esbuild-loader')
  • For .js, .jsx, .ts, .tsx, .css files, you no longer need to set the loader option because esbuild-loader can now detect how to handle them based on the extension. This also means you can consolidate esbuild-loader rules 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',
       },
     },
   ],
 },

👉 Note: For this to work, make sure to follow file extension conventions such as using .jsx/.tsx for files that contain JSX.

  • You can now use the tsconfig property to pass in a tsconfig file, and it will even resolve extends

  • tsconfig.json includes/excludes/files are now respected so it will only apply the tsconfig.json to matching files. However, TypeScript compilation will always work regardless of tsconfig.json.

  • If Webpack's target is web, EsbuildPlugin will default to using format: iife unless 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
Continuous Integration
Features
BREAKING CHANGES
  • tsconfig.json is now only applied to files it matches (via include/exclude/files)
  • plugin: Plugin default format is now iife when Webpack's target is web & esbuild's target is below esnext
  • ESBuildMinifyPlugin renamed to EsbuildPlugin; MinifyPluginOptions renamed to EsbuildPluginOptions
  • sourcemap option removed
  • Default value of loader now auto-detects which loader to use based on the extension of the file
  • Increase supported Node.js to v16
  • exports map and bundled files

Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 5c03d36 to 39e9ca9 Compare August 19, 2023 15:50
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 39e9ca9 to 88c03cf Compare August 29, 2023 10:15
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 88c03cf to 5a819da Compare January 9, 2024 17:13
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch 2 times, most recently from 0124a35 to bc1142e Compare January 23, 2024 04:14
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from bc1142e to e109635 Compare January 30, 2024 17:57
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from e109635 to 66e4546 Compare March 8, 2024 06:39
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 66e4546 to 17df332 Compare April 3, 2024 16:54
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 17df332 to 1b5123b Compare June 17, 2024 22:03
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch 2 times, most recently from edfec93 to 152d31b Compare July 16, 2024 11:55
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 152d31b to 79a7c4a Compare February 11, 2025 15:30
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch 2 times, most recently from 8aae4a7 to 99f1c4d Compare August 13, 2025 14:15
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 99f1c4d to d15baea Compare August 19, 2025 17:52
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from d15baea to d5d6d88 Compare August 31, 2025 10:40
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from d5d6d88 to ead212d Compare September 25, 2025 14:37
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from ead212d to abcc0ba Compare October 5, 2025 12:48
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from abcc0ba to ce0d886 Compare October 21, 2025 10:13
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from ce0d886 to 4c9c2fa Compare November 10, 2025 23:40
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 4c9c2fa to 23b78c9 Compare December 3, 2025 17:29
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 23b78c9 to 50404ca Compare December 21, 2025 04:58
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 50404ca to 1aef701 Compare December 29, 2025 14:27
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 1aef701 to 345a28c Compare January 19, 2026 16:42
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 345a28c to 4d992bf Compare February 2, 2026 21:42
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch 2 times, most recently from 984febb to 9e4c9a5 Compare February 17, 2026 19:38
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 9e4c9a5 to fdae82a Compare March 5, 2026 18:59
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from fdae82a to c3c77a3 Compare March 13, 2026 13:51
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from c3c77a3 to c3b2620 Compare March 27, 2026 12:34
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch 2 times, most recently from 1c4d1fd to 42701c2 Compare April 8, 2026 21:34
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 42701c2 to 84a3b4b Compare April 29, 2026 11:51
@renovate renovate Bot force-pushed the renovate/esbuild-loader-4.x branch from 84a3b4b to 4380416 Compare May 12, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants