diff --git a/cli/index.mjs b/cli/index.mjs index 1c9912a1..e1bc724f 100755 --- a/cli/index.mjs +++ b/cli/index.mjs @@ -1,3 +1,4 @@ +#!/usr/bin/env node import { defineCommand, runMain } from 'citty' import init from './commands/init.mjs' diff --git a/cli/package.json b/cli/package.json index e08b2ffa..6cb806e8 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,5 +1,6 @@ { "name": "@nuxt/ui-cli", + "type": "module", "exports": { ".": "./index.mjs" },