feat: bundleTypes

This commit is contained in:
Simon
2025-09-29 17:28:42 +08:00
parent d6e37067cf
commit 5f5de05baf
3 changed files with 9 additions and 79 deletions

View File

@@ -10,7 +10,7 @@ const __dirname = dirname(__filename)
// Library build configuration
export default defineConfig({
plugins: [
dts({ tsconfigPath: './tsconfig.lib.json' }),
dts({ tsconfigPath: './tsconfig.lib.json', bundleTypes: true }),
cssInjectedByJsPlugin({ relativeCSSInjection: true }),
],
resolve: {