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')
2626
2727const outfile = resolve (
2828 __dirname ,
29- `../packages/${ target } /dist/${ target } .${ postfix } .js`
29+ `../packages/${ target } /dist/${
30+ target === 'vue-compat' ? `vue` : target
31+ } .${ postfix } .js`
3032)
3133const relativeOutfile = relative ( process . cwd ( ) , outfile )
3234
@@ -92,7 +94,7 @@ build({
9294 __ESM_BROWSER__ : String ( format . includes ( 'esm-browser' ) ) ,
9395 __NODE_JS__ : String ( format === 'cjs' ) ,
9496 __SSR__ : String ( format === 'cjs' || format . includes ( 'esm-bundler' ) ) ,
95- __COMPAT__ : `false` ,
97+ __COMPAT__ : String ( target === 'vue-compat' ) ,
9698 __FEATURE_SUSPENSE__ : `true` ,
9799 __FEATURE_OPTIONS_API__ : `true` ,
98100 __FEATURE_PROD_DEVTOOLS__ : `false`
You can’t perform that action at this time.
0 commit comments