Enable rollupTypes in the vite build configuration. (#2714)

This resolves issues with in dependent TypeScipt packages that are using moduleResolution: NodeNext
Modern ES modules cannot use extensionless relative paths in imports.
This commit is contained in:
Paul Wheeler
2024-10-09 13:15:04 -10:00
committed by GitHub
parent 28029f4c1c
commit 5b75875684

View File

@ -7,7 +7,9 @@ import { nodePolyfills } from "vite-plugin-node-polyfills";
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
tsconfigPaths(), tsconfigPaths(),
dts(), dts({
rollupTypes: true
}),
nodePolyfills({ nodePolyfills({
exclude: [], exclude: [],
globals: { globals: {