We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f8c7f commit 0efb604Copy full SHA for 0efb604
.changeset/fluffy-horses-crash.md
@@ -0,0 +1,5 @@
1
+---
2
+'@prefresh/vite': patch
3
4
+
5
+Fix for incorrect default export of types under TS's Node16 module resolution
packages/vite/index.d.ts
@@ -1,12 +1,12 @@
import { FilterPattern } from '@rollup/pluginutils';
import { Plugin } from 'vite';
-export interface Options {
+interface Options {
parserPlugins?: readonly string[];
6
include?: FilterPattern;
7
exclude?: FilterPattern;
8
}
9
10
declare const prefreshPlugin: (options?: Options) => Plugin;
11
12
-export default prefreshPlugin;
+export = prefreshPlugin;
0 commit comments