diff --git a/src/index.ts b/src/index.ts index bf2c0f7..00a43eb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -272,6 +272,8 @@ const normalizeOptions = async ( const input = options.entryPoints if (input) { options.entryPoints = await glob(input) + } else { + throw new PrettyError(`No input files, try "tsup " instead`) } // Ensure entry exists