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({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
tsconfigPaths(),
|
tsconfigPaths(),
|
||||||
dts(),
|
dts({
|
||||||
|
rollupTypes: true
|
||||||
|
}),
|
||||||
nodePolyfills({
|
nodePolyfills({
|
||||||
exclude: [],
|
exclude: [],
|
||||||
globals: {
|
globals: {
|
||||||
|
Reference in New Issue
Block a user