File tree Expand file tree Collapse file tree 3 files changed +205
-69
lines changed Expand file tree Collapse file tree 3 files changed +205
-69
lines changed Original file line number Diff line number Diff line change 1818 "devDependencies" : {
1919 "@types/babel__standalone" : " ^7.1.9" ,
2020 "@vitejs/plugin-vue-jsx" : " ^5.0.1" ,
21- "terser" : " ^5.43.1" ,
22- "unplugin-replace" : " ^0.6.0" ,
23- "vite" : " ^7.1.1"
21+ "vite" : " npm:rolldown-vite@latest"
2422 }
2523}
Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite' ;
22import VueJSX from '@vitejs/plugin-vue-jsx' ;
3- import Replace from 'unplugin-replace/vite' ;
43
54export default defineConfig ( {
6- build : {
7- minify : 'terser' ,
8- } ,
95 resolve : {
106 alias : {
117 '@vue/babel-plugin-jsx' : '@vue/babel-plugin-jsx/src/index.ts' ,
128 } ,
139 } ,
14- plugins : [
15- VueJSX ( ) ,
16- Replace ( {
17- values : {
18- 'process.env' : '{}' ,
19- 'process.env.NODE_DEBUG' : 'false' ,
20- 'process.env.BABEL_TYPES_8_BREAKING' : 'false' ,
21- } ,
22- } ) ,
23- ] ,
10+ experimental : {
11+ enableNativePlugin : true ,
12+ } ,
13+ plugins : [ VueJSX ( ) ] ,
2414} ) ;
You can’t perform that action at this time.
0 commit comments