File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 79
79
"plausible-tracker" : " ^0.3.8" ,
80
80
"qrcode" : " ^1.5.1" ,
81
81
"sql-formatter" : " ^13.0.0" ,
82
+ "sshpk" : " ^1.18.0" ,
82
83
"ua-parser-js" : " ^1.0.35" ,
83
84
"ulid" : " ^2.3.0" ,
84
85
"unicode-emoji-json" : " ^0.4.0" ,
129
130
"unplugin-icons" : " ^0.17.0" ,
130
131
"unplugin-vue-components" : " ^0.25.0" ,
131
132
"vite" : " ^4.4.9" ,
133
+ "vite-plugin-node-polyfills" : " ^0.21.0" ,
132
134
"vite-plugin-pwa" : " ^0.16.0" ,
133
135
"vite-plugin-vue-markdown" : " ^0.23.5" ,
134
136
"vite-svg-loader" : " ^4.0.0" ,
Original file line number Diff line number Diff line change 1
1
import { resolve } from 'node:path' ;
2
2
import { URL , fileURLToPath } from 'node:url' ;
3
+ import { nodePolyfills } from 'vite-plugin-node-polyfills' ;
3
4
4
5
import VueI18n from '@intlify/unplugin-vue-i18n/vite' ;
5
6
import vue from '@vitejs/plugin-vue' ;
@@ -97,6 +98,7 @@ export default defineConfig({
97
98
resolvers : [ NaiveUiResolver ( ) , IconsResolver ( { prefix : 'icon' } ) ] ,
98
99
} ) ,
99
100
Unocss ( ) ,
101
+ nodePolyfills ( ) ,
100
102
] ,
101
103
base : baseUrl ,
102
104
resolve : {
You can’t perform that action at this time.
0 commit comments