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:
@ -7,7 +7,9 @@ import { nodePolyfills } from "vite-plugin-node-polyfills";
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
tsconfigPaths(),
|
||||
dts(),
|
||||
dts({
|
||||
rollupTypes: true
|
||||
}),
|
||||
nodePolyfills({
|
||||
exclude: [],
|
||||
globals: {
|
||||
|
Reference in New Issue
Block a user