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 18
18
"devDependencies" : {
19
19
"@types/babel__standalone" : " ^7.1.9" ,
20
20
"@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"
24
22
}
25
23
}
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from 'vite' ;
2
2
import VueJSX from '@vitejs/plugin-vue-jsx' ;
3
- import Replace from 'unplugin-replace/vite' ;
4
3
5
4
export default defineConfig ( {
6
- build : {
7
- minify : 'terser' ,
8
- } ,
9
5
resolve : {
10
6
alias : {
11
7
'@vue/babel-plugin-jsx' : '@vue/babel-plugin-jsx/src/index.ts' ,
12
8
} ,
13
9
} ,
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 ( ) ] ,
24
14
} ) ;
You can’t perform that action at this time.
0 commit comments