This commit is contained in:
IndieKKY
2024-09-19 16:24:55 +08:00
parent 78b5d7a18b
commit 3a9a8d9d56
5 changed files with 2 additions and 14 deletions

View File

@@ -1,3 +1 @@
VITE_ENV=web-dev VITE_ENV=web-dev
VITE_EXTENSION_ID=bciglihaegkdhoogebcdblfhppoilclp
VITE_REVIEW_URL=https://chrome.google.com/webstore/detail/bciglihaegkdhoogebcdblfhppoilclp/reviews

View File

@@ -1,5 +1,3 @@
NODE_ENV=production NODE_ENV=production
VITE_ENV=chrome VITE_ENV=chrome
VITE_EXTENSION_ID=bciglihaegkdhoogebcdblfhppoilclp
VITE_REVIEW_URL=https://chrome.google.com/webstore/detail/bciglihaegkdhoogebcdblfhppoilclp/reviews

View File

@@ -1,5 +0,0 @@
NODE_ENV=production
VITE_ENV=edge
VITE_EXTENSION_ID=lignnlhlpiefmcjkdkmfjdckhlaiajan
VITE_REVIEW_URL=https://microsoftedge.microsoft.com/addons/detail/lignnlhlpiefmcjkdkmfjdckhlaiajan

View File

@@ -8,7 +8,6 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build_chrome": "tsc && vite build -m production_chrome && node fixChrome.cjs", "build_chrome": "tsc && vite build -m production_chrome && node fixChrome.cjs",
"build_edge": "tsc && vite build -m production_edge && node fixChrome.cjs",
"build_firefox": "tsc && vite build -m production_chrome && node fixFirefox.cjs", "build_firefox": "tsc && vite build -m production_chrome && node fixFirefox.cjs",
"fix": "eslint --fix --quiet ." "fix": "eslint --fix --quiet ."
}, },

2
src/vite-env.d.ts vendored
View File

@@ -1,8 +1,6 @@
/// <reference types="vite/client" /> /// <reference types="vite/client" />
interface ImportMetaEnv { interface ImportMetaEnv {
readonly VITE_REVIEW_URL: string
readonly VITE_EXTENSION_ID: string
} }
interface ImportMeta { interface ImportMeta {