File tree Expand file tree Collapse file tree 5 files changed +112
-43
lines changed Expand file tree Collapse file tree 5 files changed +112
-43
lines changed Original file line number Diff line number Diff line change 91
91
"devDependencies" : {
92
92
"@antfu/ni" : " ^0.21.3" ,
93
93
"@babel/types" : " ^7.21.4" ,
94
- "@so1ve/eslint-config" : " ^0.105 .0" ,
94
+ "@so1ve/eslint-config" : " ^0.106 .0" ,
95
95
"@types/fs-extra" : " ^9.0.13" ,
96
96
"@types/node" : " ^18.15.11" ,
97
97
"bumpp" : " ^9.1.0" ,
Original file line number Diff line number Diff line change 1
1
import type { HmrContext , ModuleNode } from "vite" ;
2
2
import type { SFCBlock , SFCDescriptor } from "vue/compiler-sfc" ;
3
3
4
- import type { ResolvedOptions } from "." ;
5
4
import { getResolvedScript , setResolvedScript } from "./script" ;
6
5
import {
7
6
createDescriptor ,
8
7
getDescriptor ,
9
8
setPrevDescriptor ,
10
9
} from "./utils/descriptorCache" ;
10
+ import type { ResolvedOptions } from "." ;
11
11
12
12
const directRequestRE = / ( \? | & ) d i r e c t \b / ;
13
13
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import type { RawSourceMap } from "source-map";
5
5
import { transformWithEsbuild } from "vite" ;
6
6
import type { SFCBlock , SFCDescriptor } from "vue/compiler-sfc" ;
7
7
8
- import type { Context , ResolvedOptions } from "." ;
9
8
import { isOnlyTemplateChanged } from "./handleHotUpdate" ;
10
9
import { resolveScript } from "./script" ;
11
10
import { transformTemplateInMain } from "./template" ;
@@ -17,6 +16,7 @@ import {
17
16
} from "./utils/descriptorCache" ;
18
17
import { createError } from "./utils/error" ;
19
18
import { HMR_RUNTIME_ID } from "./utils/hmrRuntime" ;
19
+ import type { Context , ResolvedOptions } from "." ;
20
20
21
21
export async function transformMain (
22
22
code : string ,
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ import type {
9
9
SFCTemplateCompileOptions ,
10
10
} from "vue/compiler-sfc" ;
11
11
12
- import type { ResolvedOptions } from "." ;
13
12
import { getResolvedScript } from "./script" ;
14
13
import { createError } from "./utils/error" ;
15
14
import { HMR_RUNTIME_ID } from "./utils/hmrRuntime" ;
15
+ import type { ResolvedOptions } from "." ;
16
16
17
17
export async function transformTemplateAsModule (
18
18
code : string ,
You can’t perform that action at this time.
0 commit comments