Skip to content

Commit 79d5997

Browse files
committed
remove redundanct plugin
1 parent c01a954 commit 79d5997

3 files changed

Lines changed: 0 additions & 19 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"format": "prettier --write --experimental-cli src/"
1717
},
1818
"dependencies": {
19-
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
2019
"@noble/ed25519": "^3.0.0",
2120
"@popperjs/core": "^2.11.8",
2221
"@xterm/addon-fit": "^0.11.0",

vite.config.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,10 @@ import { fileURLToPath, URL } from 'node:url'
33
import { defineConfig } from 'vite'
44
import vue from '@vitejs/plugin-vue'
55
import vueDevTools from 'vite-plugin-vue-devtools'
6-
import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill'
76

87
// https://vite.dev/config/
98
export default defineConfig({
109
plugins: [vue(), vueDevTools()],
11-
optimizeDeps: {
12-
esbuildOptions: {
13-
plugins: [
14-
NodeGlobalsPolyfillPlugin({
15-
process: true,
16-
}),
17-
],
18-
define: {
19-
global: 'globalThis',
20-
},
21-
},
22-
},
2310
resolve: {
2411
alias: {
2512
'@': fileURLToPath(new URL('./src', import.meta.url)),

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,6 @@
305305
dependencies:
306306
tslib "^2.4.0"
307307

308-
"@esbuild-plugins/node-globals-polyfill@^0.2.3":
309-
version "0.2.3"
310-
resolved "https://registry.yarnpkg.com/@esbuild-plugins/node-globals-polyfill/-/node-globals-polyfill-0.2.3.tgz#0e4497a2b53c9e9485e149bc92ddb228438d6bcf"
311-
integrity sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw==
312-
313308
"@esbuild/aix-ppc64@0.27.3":
314309
version "0.27.3"
315310
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.27.3.tgz#815b39267f9bffd3407ea6c376ac32946e24f8d2"

0 commit comments

Comments
 (0)