chore: fix broken builds
This commit is contained in:
parent
ce5ee1b877
commit
b41ee56c81
3 changed files with 9 additions and 5 deletions
|
@ -2,8 +2,8 @@ const d = require('date-fns');
|
|||
const normalizePathSep = require('slash');
|
||||
const uuid = require('uuid');
|
||||
const AdmZip = require('adm-zip');
|
||||
const actual = require('@actual-app/api/methods');
|
||||
const { amountToInteger } = require('@actual-app/api/utils');
|
||||
const actual = require('@actual-app/api');
|
||||
const amountToInteger = actual.utils.amountToInteger;
|
||||
|
||||
// Utils
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
const d = require('date-fns');
|
||||
const uuid = require('uuid');
|
||||
const actual = require('@actual-app/api/methods');
|
||||
const { amountToInteger } = require('@actual-app/api/utils');
|
||||
const actual = require('@actual-app/api');
|
||||
|
||||
function amountFromYnab(amount) {
|
||||
// ynabs multiplies amount by 1000 and actual by 100
|
||||
|
|
|
@ -58,5 +58,10 @@ module.exports = {
|
|||
new webpack.IgnorePlugin({
|
||||
resourceRegExp: /worker_threads|original-fs/
|
||||
})
|
||||
]
|
||||
],
|
||||
node: {
|
||||
dgram: "empty",
|
||||
net: 'empty',
|
||||
tls: 'empty',
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue