Skip to content

Commit

Permalink
Fix Android
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Dec 30, 2023
1 parent a51c0a6 commit bf1241c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ module.exports = {
cordovaChromeapi: true,
appAvailability: true,
// end cordova bindings

// globals for vite
__APP_PRODUCTNAME__: "readonly",
__APP_VERSION__: "readonly",
__APP_REVISION__: "readonly",
'__APP_PRODUCTNAME__': "readonly",
'__APP_VERSION__': "readonly",
'__APP_REVISION__': "readonly",
},
// ignore src/dist folders
ignorePatterns: ["src/dist/*"],
Expand Down
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ function serveLocalesPlugin() {

export default defineConfig({
define: {
'__APP_VERSION__': JSON.stringify(pkg.version),
'__APP_PRODUCTNAME__': JSON.stringify(pkg.productName),
'__APP_REVISION__': JSON.stringify(commitHash),
__APP_VERSION__: JSON.stringify(pkg.version),
__APP_PRODUCTNAME__: JSON.stringify(pkg.productName),
__APP_REVISION__: JSON.stringify(commitHash),
},
test: {
// NOTE: this is a replacement location for karma tests.
Expand Down

0 comments on commit bf1241c

Please sign in to comment.