Skip to content
Snippets Groups Projects
Unverified Commit 64f55733 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:rewind: reverting some changes to fix electron-app (#466)

parent 9f0b990c
No related branches found
No related tags found
No related merge requests found
......@@ -38,10 +38,12 @@ function getServedPath(appPackageJson) {
return ensureSlash(servedUrl, true);
}
const isGenericBrowser = process.env.IS_GENERIC_BROWSER;
// JWL: Resolve to mobile suffixes before resolving to .js. This
// makes it load real React Native components, but when needed
// .web.js can be used to force a web version.
const moduleFileExtensions = ['browser.js']
const moduleFileExtensions = (isGenericBrowser ? ['browser.js'] : [])
.concat(['web.mjs', 'web.js'])
.concat(['mjs', 'js', 'json', 'web.jsx', 'jsx']);
......
// Intentionally left blank to make electron app work
......@@ -3,7 +3,7 @@
"productName": "Actual",
"author": "Shift Reset LLC",
"description": "A simple and powerful personal finance system",
"version": "22.12.03",
"version": "22.12.3",
"scripts": {
"clean": "rm -rf dist",
"update-client": "bin/update-client",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment