Skip to content

Commit

Permalink
fix: transpile target to es2018, close #3349
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 28, 2023
1 parent 77e9151 commit 0e4a5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.ts
Expand Up @@ -44,7 +44,7 @@ function esbuildMinifer(options: ESBuildOptions) {
}
}

for (const { globals, name, external, submodules, iife, build, cjs, mjs, dts, target } of packages) {
for (const { globals, name, external, submodules, iife, build, cjs, mjs, dts, target = 'es2018' } of packages) {
if (build === false)
continue

Expand Down

0 comments on commit 0e4a5f0

Please sign in to comment.