diff --git a/rollup.config.js b/rollup.config.js index af108a4..6745442 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -38,7 +38,7 @@ export default [ format: 'esm', sourcemap: true, }, - plugins: [typescript({target: 'esnext'})], + plugins: [typescript({target: 'es2020'})], external, onwarn, }, diff --git a/tsconfig.json b/tsconfig.json index 5268263..5d72803 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "noImplicitAny": false, "sourceMap": true, "strict": true, - "target": "esnext" + "target": "es2020" }, "include": ["src/**/*"] }