File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 6
6
],
7
7
"scripts" : {
8
8
"lint" : " eslint --ext .ts packages/*/src/**" ,
9
- "bundle " : " esbuild packages/vite/src/node/index.ts packages/vite/src/node/cli.ts --bundle --platform=node --target=node12 --external:fsevents --external:sugarss --external:bufferutil --external:utf-8-validate --outdir=esbuild "
9
+ "test " : " jest "
10
10
},
11
11
"devDependencies" : {
12
12
"@microsoft/api-extractor" : " ^7.12.1" ,
13
+ "@types/jest" : " ^26.0.19" ,
13
14
"@types/node" : " ^14.14.10" ,
14
15
"@typescript-eslint/parser" : " ^4.9.1" ,
15
16
"enquirer" : " ^2.3.6" ,
16
17
"eslint" : " ^7.15.0" ,
17
18
"eslint-plugin-node" : " ^11.1.0" ,
18
19
"execa" : " ^5.0.0" ,
20
+ "jest" : " ^26.6.3" ,
19
21
"lint-staged" : " ^10.5.3" ,
20
22
"minimist" : " ^1.2.5" ,
21
23
"npm-run-all" : " ^4.1.5" ,
24
+ "playwright-chromium" : " ^1.7.0" ,
22
25
"prettier" : " ^2.2.1" ,
23
26
"rimraf" : " ^3.0.2" ,
24
27
"semver" : " ^7.3.4" ,
28
+ "ts-jest" : " ^26.4.4" ,
25
29
"typescript" : " ^4.1.2" ,
26
30
"yorkie" : " ^2.0.0"
27
31
},
Original file line number Diff line number Diff line change @@ -165,3 +165,4 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
165
165
166
166
// overwrite for cjs require('...')() usage
167
167
module . exports = vuePlugin
168
+ vuePlugin . default = vuePlugin
Original file line number Diff line number Diff line change @@ -43,3 +43,7 @@ export function getDescriptor(filename: string) {
43
43
`This is a @vitejs/plugin-vue internal error, please open an issue.`
44
44
)
45
45
}
46
+
47
+ export function setDescriptor ( filename : string , entry : SFCDescriptor ) {
48
+ cache . set ( filename , entry )
49
+ }
You can’t perform that action at this time.
0 commit comments