fix(resolve-type): support es2015

This commit is contained in:
三咲智子 Kevin Deng 2024-01-21 17:26:26 +08:00
parent 3f8f4bbfc6
commit 830fa7dff8
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E

View File

@ -4,6 +4,6 @@ export default defineConfig({
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
dts: true,
target: 'node14',
target: 'es2015',
platform: 'neutral',
});