refactor(jsx-explorer): remove MonacoEditorPlugin

This commit is contained in:
三咲智子 Kevin Deng 2023-06-25 16:40:31 +08:00
parent d48208ab71
commit cb55979a56
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
3 changed files with 1 additions and 14 deletions

View File

@ -14,7 +14,6 @@
"vue": "^3.3.4"
},
"devDependencies": {
"vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-node-polyfills": "^0.9.0"
}
}

View File

@ -1,5 +1,4 @@
import { defineConfig } from 'vite';
import MonacoEditorPlugin from 'vite-plugin-monaco-editor';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
export default defineConfig({
@ -9,7 +8,6 @@ export default defineConfig({
},
},
plugins: [
MonacoEditorPlugin({}),
nodePolyfills({
globals: {
process: true,

12
pnpm-lock.yaml generated
View File

@ -129,9 +129,6 @@ importers:
specifier: ^3.3.4
version: 3.3.4
devDependencies:
vite-plugin-monaco-editor:
specifier: ^1.1.0
version: 1.1.0(monaco-editor@0.39.0)
vite-plugin-node-polyfills:
specifier: ^0.9.0
version: 0.9.0(vite@4.3.9)
@ -4385,6 +4382,7 @@ packages:
/monaco-editor@0.39.0:
resolution: {integrity: sha512-zhbZ2Nx93tLR8aJmL2zI1mhJpsl87HMebNBM6R8z4pLfs8pj604pIVIVwyF1TivcfNtIPpMXL+nb3DsBmE/x6Q==}
dev: false
/mri@1.2.0:
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
@ -5496,14 +5494,6 @@ packages:
- terser
dev: true
/vite-plugin-monaco-editor@1.1.0(monaco-editor@0.39.0):
resolution: {integrity: sha512-IvtUqZotrRoVqwT0PBBDIZPNraya3BxN/bfcNfnxZ5rkJiGcNtO5eAOWWSgT7zullIAEqQwxMU83yL9J5k7gww==}
peerDependencies:
monaco-editor: '>=0.33.0'
dependencies:
monaco-editor: 0.39.0
dev: true
/vite-plugin-node-polyfills@0.9.0(vite@4.3.9):
resolution: {integrity: sha512-+i+WPUuIBhJy+ODfxx6S6FTl28URCxUszbl/IL4GwrZvbqqY/8VDIp+zpjMS8Us/a7GwN4Iaqr/fVIBtkNQojQ==}
peerDependencies: