feat: enable type entry insertion in dts plugin for Vite configuration
All checks were successful
Publish to npm / publish (push) Successful in 24s

This commit is contained in:
Astrian Zheng 2025-02-20 13:12:53 +11:00
parent d0d0aa6cf5
commit 9c95a54363
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA

View File

@ -19,7 +19,9 @@ export default defineConfig(({mode}) => ({
}, },
}, },
}, },
plugins: [react(), dts()], plugins: [react(), dts({
insertTypesEntry: true
})],
resolve: { resolve: {
alias: { alias: {
"@": path.resolve(__dirname, "./src"), "@": path.resolve(__dirname, "./src"),