diff --git a/packages/cli/package.json b/packages/cli/package.json index 0628fcb..bc36fa2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -10,7 +10,7 @@ "author": "Mosano Dev Team ", "license": "MIT", "bin": { - "abmt": "node --experimental-loader tsx dist/cli.js" + "abmt": "node --import=tsx dist/cli.js" }, "scripts": { "dev": "rollup --config --sourcemap --watch", diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts index de831f7..7c44312 100644 --- a/packages/cli/src/cli.ts +++ b/packages/cli/src/cli.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env -S node --experimental-loader tsx +#!/usr/bin/env -S node --import=tsx import { Command } from 'commander'; import dotenv from 'dotenv';