diff --git a/src/index.ts b/src/index.ts index dc907ed69..b5d8254d6 100755 --- a/src/index.ts +++ b/src/index.ts @@ -290,8 +290,6 @@ prog if (!opts.noClean) { await cleanDistFolder(); } - opts.name = opts.name || appPackageJson.name; - opts.input = await getInputs(opts.entry, appPackageJson.source); if (opts.format.includes('cjs')) { await writeCjsEntryFile(opts.name); }