vite-plugin-kiru 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +6 -2
  2. package/dist/index.js +22167 -818
  3. package/package.json +5 -6
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ESBuildOptions, Plugin } from "vite"
1
+ import type { ESBuildOptions } from "vite"
2
2
 
3
3
  export type FileLinkFormatter = (path: string, line: number) => string
4
4
 
@@ -222,4 +222,8 @@ export const defaultEsBuildOptions: ESBuildOptions
222
222
  */
223
223
  export function onHMR(callback: () => void): void
224
224
 
225
- export default function kiru(opts?: KiruPluginOptions): Plugin
225
+ type PluginInterop = Record<string, unknown> & {
226
+ name: string
227
+ }
228
+
229
+ export default function kiru(opts?: KiruPluginOptions): PluginInterop