Skip to content

Commit

Permalink
Fix define var usage in vite and titles
Browse files Browse the repository at this point in the history
  • Loading branch information
mubaidr committed Dec 26, 2024
1 parent 0a7b816 commit a96d77a
Show file tree
Hide file tree
Showing 5 changed files with 443 additions and 264 deletions.
2 changes: 1 addition & 1 deletion define.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ export const defineViteConfig = {
__GIT_COMMIT__: jsn(gitCommit),
__GITHUB_URL__: jsn(packageJson.repository.url),
// Set the HTML title for all pages from package.json so you can use %HTML_TITLE% in your HTML files.
"import.meta.env.HTML_TITLE": jsn(packageJson.displayName),
HTML_TITLE: jsn(packageJson.displayName),
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"notivue": "^2.4.5",
"pinia": "^2.3.0",
"vue": "^3.5.13",
"vue-i18n": "^11.0.0",
"vue-i18n": "^11.0.1",
"vue-router": "^4.5.0",
"webextension-polyfill": "^0.12.0"
},
Expand Down Expand Up @@ -34,7 +34,7 @@
"commander": "^12.1.0",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"daisyui": "^4.12.22",
"daisyui": "^4.12.23",
"dotenv": "^16.4.7",
"eslint": "^9.17.0",
"eslint-plugin-vue": "^9.32.0",
Expand All @@ -55,7 +55,8 @@
"unplugin-turbo-console": "^1.11.1",
"unplugin-vue-components": "^0.28.0",
"unplugin-vue-router": "^0.10.9",
"vite": "^6.0.5",
"vite": "^6.0.6",
"vite-plugin-html": "^3.2.2",
"vite-plugin-vue-devtools": "^7.6.8",
"vite-plugin-zip-pack": "^1.2.4",
"vue-tsc": "^2.2.0",
Expand Down
Loading

0 comments on commit a96d77a

Please sign in to comment.