Closed bvotteler closed 1 year ago
Replace fs.readFileSync which causes issues in our UI with a require workaround to be able to import definitions.json from interbtc-types.
fs.readFileSync
require
definitions.json
interbtc-types
Changed module from es6 to esnext - the latter supports createRequire(import.meta.url)
createRequire(import.meta.url)
Closing PR: This approach will not work as ts-jest does not support it.
Replace
fs.readFileSync
which causes issues in our UI with arequire
workaround to be able to importdefinitions.json
frominterbtc-types
.Changed module from es6 to esnext - the latter supports
createRequire(import.meta.url)