Skip to content

Commit

Permalink
Set target to es2022
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol committed May 8, 2024
1 parent cd7ea35 commit b363f55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ckeditor5-dev-build-tools/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ export async function getRollupConfig( options: BuildOptions ) {
include: [ '**/*.[jt]s' ],
swc: {
jsc: {
target: 'es2019'
target: 'es2022',
loose: false
},
module: {
type: 'es6'
Expand Down Expand Up @@ -295,6 +296,7 @@ function getTypeScriptPlugin( {
}

return typescriptPlugin( {
noForceEmit: true,
tsconfig,
sourceMap,
noEmitOnError: true,
Expand Down

0 comments on commit b363f55

Please sign in to comment.