mirror of
https://github.com/luxfi/uma.git
synced 2026-10-30 15:14:44 +00:00
18 lines
533 B
JavaScript
18 lines
533 B
JavaScript
const { getHardhatConfig } = require("@uma/common");
|
|
|
|
const path = require("path");
|
|
const coreWkdir = path.dirname(require.resolve("@uma/core/package.json"));
|
|
const packageWkdir = path.dirname(require.resolve("@uma/financial-templates-lib/package.json"));
|
|
|
|
const configOverride = {
|
|
paths: {
|
|
root: coreWkdir,
|
|
sources: `${coreWkdir}/contracts`,
|
|
artifacts: `${coreWkdir}/artifacts`,
|
|
cache: `${coreWkdir}/cache`,
|
|
tests: `${packageWkdir}/test`,
|
|
},
|
|
};
|
|
|
|
module.exports = getHardhatConfig(configOverride, coreWkdir);
|