diff --git a/package-lock.json b/package-lock.json index e6a6a71..cc8d7e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,6 +51,7 @@ "terser-webpack-plugin": "^5.3.7", "typescript": "^5.0.4", "vite-plugin-checker": "^0.5.6", + "vite-plugin-conditional-compiler": "^0.1.1", "vue-tsc": "^1.2.0" } }, @@ -5307,6 +5308,27 @@ "node": ">=14.14" } }, + "node_modules/vite-plugin-conditional-compiler": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/vite-plugin-conditional-compiler/-/vite-plugin-conditional-compiler-0.1.1.tgz", + "integrity": "sha512-1QKTJ9/kWuqwWxtIEhtxENUQlfRfgjDyeAtic91ArQFjzI71necB7Sp9F5IGR/L1zIQXkkXBvidLLJkTJcp/OQ==", + "dev": true, + "dependencies": { + "magic-string": "^0.30.0" + } + }, + "node_modules/vite-plugin-conditional-compiler/node_modules/magic-string": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", + "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/vscode-jsonrpc": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz", @@ -9114,6 +9136,26 @@ } } }, + "vite-plugin-conditional-compiler": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/vite-plugin-conditional-compiler/-/vite-plugin-conditional-compiler-0.1.1.tgz", + "integrity": "sha512-1QKTJ9/kWuqwWxtIEhtxENUQlfRfgjDyeAtic91ArQFjzI71necB7Sp9F5IGR/L1zIQXkkXBvidLLJkTJcp/OQ==", + "dev": true, + "requires": { + "magic-string": "^0.30.0" + }, + "dependencies": { + "magic-string": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", + "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", + "dev": true, + "requires": { + "@jridgewell/sourcemap-codec": "^1.4.13" + } + } + } + }, "vscode-jsonrpc": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz", diff --git a/package.json b/package.json index 4b58a84..50003fc 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "terser-webpack-plugin": "^5.3.7", "typescript": "^5.0.4", "vite-plugin-checker": "^0.5.6", + "vite-plugin-conditional-compiler": "^0.1.1", "vue-tsc": "^1.2.0" }, "dependencies": { diff --git a/src/components/FixedPanel.vue b/src/components/FixedPanel.vue index 3d96e6b..b221754 100644 --- a/src/components/FixedPanel.vue +++ b/src/components/FixedPanel.vue @@ -1,10 +1,10 @@