Skip to content

Commit fc2ce7e

Browse files
committed
chore: avoid TypeScript 6 target deprecation warning
1 parent 8217281 commit fc2ce7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rollup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function createEntry(options) {
7272
include: ['src/**/*.ts', 'types/**/*.d.ts'],
7373
compilerOptions: {
7474
declaration: format === 'es',
75-
target: 'es5', // not sure what this should be?
75+
target: 'es2015',
7676
module: format === 'cjs' ? 'es2015' : 'esnext'
7777
}
7878
})

0 commit comments

Comments
 (0)