|
|
|
@ -26,10 +26,10 @@ export default async (opts) => { |
|
|
|
|
|
|
|
|
|
if (!opts || opts.upgradeable === undefined || !opts.upgradeable) { |
|
|
|
|
// @ts-ignore
|
|
|
|
|
if(opts.mintable) filesObj['tests/MyToken_test.sol'] = (await import('raw-loader!./tests/MyToken_mintable_test.sol')).default |
|
|
|
|
if (erc20.defaults.mintable) filesObj['tests/MyToken_test.sol'] = (await import('raw-loader!./tests/MyToken_mintable_test.sol')).default |
|
|
|
|
// @ts-ignore
|
|
|
|
|
else filesObj['tests/MyToken_test.sol'] = (await import('raw-loader!./tests/MyToken_test.sol')).default |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return filesObj |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|