mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
Adding version details to the PWA (#3606)
* Adding version details to the PWA * Created a coded version.js that can be loaded as a module. * Reverting, and simply identifying the permissible global vars for Vite * Update .eslintrc.js Removing whitespace * Update vite.config.js
This commit is contained in:
parent
16df95118a
commit
d6575e175f
3 changed files with 17 additions and 0 deletions
|
@ -37,6 +37,11 @@ module.exports = {
|
|||
cordovaChromeapi: true,
|
||||
appAvailability: true,
|
||||
// end cordova bindings
|
||||
|
||||
// globals for vite
|
||||
__APP_PRODUCTNAME__: "readonly",
|
||||
__APP_VERSION__: "readonly",
|
||||
__APP_REVISION__: "readonly",
|
||||
},
|
||||
// ignore src/dist folders
|
||||
ignorePatterns: ["src/dist/*"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue