Skip to content

Commit

Permalink
Update build target from ES2017 to ES2021
Browse files Browse the repository at this point in the history
Emscripten requires ES2021 by default, so this should be safe.
  • Loading branch information
kichikuou committed Jan 22, 2025
1 parent 26b92e7 commit 27ca5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const configs = [
minify: true,
charset: 'utf8',
format: 'esm',
target: ['es2017'],
target: ['es2021'],
outdir,
sourcemap: true,
logLevel,
Expand All @@ -63,7 +63,7 @@ const configs = [
minify: true,
charset: 'utf8',
format: 'esm',
target: ['es2017'],
target: ['es2021'],
outdir,
sourcemap: true,
logLevel,
Expand Down

0 comments on commit 27ca5e9

Please sign in to comment.