Skip to content

Commit 3f32990

Browse files
committed
chore: prepare sshpk for cert/key/sshkeys related tools
1 parent a07806c commit 3f32990

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"plausible-tracker": "^0.3.8",
8080
"qrcode": "^1.5.1",
8181
"sql-formatter": "^13.0.0",
82+
"sshpk": "^1.18.0",
8283
"ua-parser-js": "^1.0.35",
8384
"ulid": "^2.3.0",
8485
"unicode-emoji-json": "^0.4.0",
@@ -129,6 +130,7 @@
129130
"unplugin-icons": "^0.17.0",
130131
"unplugin-vue-components": "^0.25.0",
131132
"vite": "^4.4.9",
133+
"vite-plugin-node-polyfills": "^0.21.0",
132134
"vite-plugin-pwa": "^0.16.0",
133135
"vite-plugin-vue-markdown": "^0.23.5",
134136
"vite-svg-loader": "^4.0.0",

vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { resolve } from 'node:path';
22
import { URL, fileURLToPath } from 'node:url';
3+
import { nodePolyfills } from 'vite-plugin-node-polyfills';
34

45
import VueI18n from '@intlify/unplugin-vue-i18n/vite';
56
import vue from '@vitejs/plugin-vue';
@@ -97,6 +98,7 @@ export default defineConfig({
9798
resolvers: [NaiveUiResolver(), IconsResolver({ prefix: 'icon' })],
9899
}),
99100
Unocss(),
101+
nodePolyfills(),
100102
],
101103
base: baseUrl,
102104
resolve: {

0 commit comments

Comments
 (0)