diff --git a/compose/index.html b/compose/index.html index 604e06b0..c4b3d5a1 100644 --- a/compose/index.html +++ b/compose/index.html @@ -4,7 +4,7 @@ - Compose / Phanpy + Compose / %VITE_CLIENT_NAME% diff --git a/index.html b/index.html index a18f8685..c0103ab8 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> - <{ VITE_CLIENT_NAME }> + %VITE_CLIENT_NAME% - + - + - - + + - +
diff --git a/package-lock.json b/package-lock.json index a5798425..c7b9f4f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,6 @@ "vite": "~4.2.0", "vite-plugin-generate-file": "~0.0.4", "vite-plugin-html-config": "~1.0.11", - "vite-plugin-html-env": "~1.2.7", "vite-plugin-pwa": "~0.14.4", "vite-plugin-remove-console": "~2.1.0", "workbox-cacheable-response": "~6.5.4", @@ -6772,18 +6771,6 @@ "vite": ">=2.0.0" } }, - "node_modules/vite-plugin-html-env": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/vite-plugin-html-env/-/vite-plugin-html-env-1.2.7.tgz", - "integrity": "sha512-vdTnKtuBeB8Zp93DCbN0Qjf4odW2msVRq45r7lGKA6nwQGJFj6YemU54u3xPPkvDeZhG8DEEU64xbLwzVEBilQ==", - "dev": true, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "vite": "*" - } - }, "node_modules/vite-plugin-pwa": { "version": "0.14.4", "resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.14.4.tgz", @@ -11751,13 +11738,6 @@ "dev": true, "requires": {} }, - "vite-plugin-html-env": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/vite-plugin-html-env/-/vite-plugin-html-env-1.2.7.tgz", - "integrity": "sha512-vdTnKtuBeB8Zp93DCbN0Qjf4odW2msVRq45r7lGKA6nwQGJFj6YemU54u3xPPkvDeZhG8DEEU64xbLwzVEBilQ==", - "dev": true, - "requires": {} - }, "vite-plugin-pwa": { "version": "0.14.4", "resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.14.4.tgz", diff --git a/package.json b/package.json index 8bde3f80..2f914599 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,6 @@ "vite": "~4.2.0", "vite-plugin-generate-file": "~0.0.4", "vite-plugin-html-config": "~1.0.11", - "vite-plugin-html-env": "~1.2.7", "vite-plugin-pwa": "~0.14.4", "vite-plugin-remove-console": "~2.1.0", "workbox-cacheable-response": "~6.5.4", diff --git a/vite.config.js b/vite.config.js index 1998c922..9e86bf24 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,7 +5,6 @@ import { resolve } from 'path'; import { defineConfig, loadEnv, splitVendorChunkPlugin } from 'vite'; import generateFile from 'vite-plugin-generate-file'; import htmlPlugin from 'vite-plugin-html-config'; -import VitePluginHtmlEnv from 'vite-plugin-html-env'; import { VitePWA } from 'vite-plugin-pwa'; import removeConsole from 'vite-plugin-remove-console'; @@ -31,7 +30,6 @@ export default defineConfig({ plugins: [ preact(), splitVendorChunkPlugin(), - VitePluginHtmlEnv(), removeConsole({ includes: ['log', 'debug', 'info', 'warn', 'error'], }),