diff --git a/src/index.ts b/src/index.ts index d0fcbae..8f08945 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,7 @@ #!/usr/bin/env -S node --experimental-specifier-resolution=node import { Command, Option, InvalidOptionArgumentError } from 'commander' -import pack from '../package.json' +import pack from '../package.json' assert { type: 'json' } import config from './config' import { ChainSync } from './chain' diff --git a/tsconfig.json b/tsconfig.json index a50ac5a..982ffca 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es2020", - "module": "ES2020", + "module": "esnext", "moduleResolution": "node", "baseUrl": "./", "resolveJsonModule": true,