File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ const postfix = format.endsWith('-runtime')
26
26
27
27
const outfile = resolve (
28
28
__dirname ,
29
- `../packages/${ target } /dist/${ target } .${ postfix } .js`
29
+ `../packages/${ target } /dist/${
30
+ target === 'vue-compat' ? `vue` : target
31
+ } .${ postfix } .js`
30
32
)
31
33
const relativeOutfile = relative ( process . cwd ( ) , outfile )
32
34
@@ -92,7 +94,7 @@ build({
92
94
__ESM_BROWSER__ : String ( format . includes ( 'esm-browser' ) ) ,
93
95
__NODE_JS__ : String ( format === 'cjs' ) ,
94
96
__SSR__ : String ( format === 'cjs' || format . includes ( 'esm-bundler' ) ) ,
95
- __COMPAT__ : `false` ,
97
+ __COMPAT__ : String ( target === 'vue-compat' ) ,
96
98
__FEATURE_SUSPENSE__ : `true` ,
97
99
__FEATURE_OPTIONS_API__ : `true` ,
98
100
__FEATURE_PROD_DEVTOOLS__ : `false`
You can’t perform that action at this time.
0 commit comments