From a6390658abef8d4f50c24be66a8b10e9827e51da Mon Sep 17 00:00:00 2001 From: rajdip-b Date: Thu, 9 Jan 2025 12:55:02 +0530 Subject: [PATCH] fix(cli): Module errors --- apps/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cli/package.json b/apps/cli/package.json index 244de4e3..368aa578 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -14,7 +14,7 @@ }, "type": "module", "scripts": { - "build": "esbuild src/index.ts --bundle --platform=node --outdir=dist --outfile=index.esm.js --format=esm --banner:js='#!/usr/bin/env node' && esbuild src/index.ts --bundle --platform=node --outdir=dist --outfile=index.cjs --format=cjs --banner:js='#!/usr/bin/env node'", + "build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.esm.js --format=esm --banner:js='#!/usr/bin/env node' && esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs --format=cjs --banner:js='#!/usr/bin/env node'", "start": "node dist/index.js", "dev": "pnpm build && node dist/index.js", "lint": "eslint \"src/**/*.ts\" --fix",