vite.config.ts
This file
Path
adapters/aws-lambda/vite.config.ts
17 lines 路 438 bytes 路 TypeScript
Last changed by
fix(build): keep internal types private in bundled d.ts and avoid a self-referencing JSX.IntrinsicElements (#5485)Yusuke Wadabefore adoptionbe1f749
History of this fileTake it
123456789101112131415161718import { defineConfig } from 'vite-plus'import { appendExportEmptyToDts } from '../../build/dts-plugins'
export default defineConfig({ pack: { entry: ['src/**/*.ts', '!src/**/*.test.ts', '!src/**/*.d.ts'], tsconfig: 'tsconfig.json', unbundle: true, format: ['esm'], dts: true, plugins: [appendExportEmptyToDts], outExtensions: () => ({ js: '.js', dts: '.d.ts' }), }, test: { globals: true, },})