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 d2d461d commit 7ce0c4dCopy full SHA for 7ce0c4d
src/magic-sfc.ts
@@ -1,8 +1,15 @@
1
import type { MagicStringOptions, SourceMap, SourceMapOptions } from 'magic-string'
2
import MagicString from 'magic-string'
3
-import type { TransformResult } from 'vite'
4
import type { MagicBlock } from './proxy'
5
+export interface TransformResult {
6
+ code: string
7
+ map: SourceMap | null
8
+ etag?: string
9
+ deps?: string[]
10
+ dynamicDeps?: string[]
11
+}
12
+
13
export interface MagicSFCOptions extends MagicStringOptions {
14
parser?: any
15
parserOptions?: any
0 commit comments