Skip to content

Commit

Permalink
Merge pull request #951 from ckeditor/update-esbuild-loader
Browse files Browse the repository at this point in the history
Feature (dev-utils): Update `esbuild-loader` to ^4.1.0.

Feature (dev-utils): Set `target: es2022` in `esbuild-loader`.
  • Loading branch information
filipsobol committed May 8, 2024
2 parents 2b8cb5f + ae691c6 commit cd7ea35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/ckeditor5-dev-utils/lib/loaders/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ module.exports = {
use: [
{
loader: 'esbuild-loader',
options: { tsconfig: configFile }
options: {
target: 'es2022',
tsconfig: configFile
}
},
includeDebugLoader ? getDebugLoader( debugFlags ) : null
].filter( Boolean )
Expand Down
2 changes: 1 addition & 1 deletion packages/ckeditor5-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"css-loader": "^5.2.7",
"cssnano": "^6.0.3",
"del": "^5.0.0",
"esbuild-loader": "~3.0.1",
"esbuild-loader": "^4.1.0",
"fs-extra": "^9.1.0",
"is-interactive": "^1.0.0",
"javascript-stringify": "^1.6.0",
Expand Down

0 comments on commit cd7ea35

Please sign in to comment.