Skip to content

Commit 351936e

Browse files
(clean): remove redundant set of watch opts (#671)
- another thing that was missed in #130 - these sets are already done in normalizeOpts, no need to redundantly perform them again - fortunately this wasn't inconsistent with normalizeOpts, so no harm done before this got out Co-Authored-By: Kotaro Sugawara <kotarella1110@gmail.com>
1 parent 72c06b9 commit 351936e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ prog
290290
if (!opts.noClean) {
291291
await cleanDistFolder();
292292
}
293-
opts.name = opts.name || appPackageJson.name;
294-
opts.input = await getInputs(opts.entry, appPackageJson.source);
295293
if (opts.format.includes('cjs')) {
296294
await writeCjsEntryFile(opts.name);
297295
}

0 commit comments

Comments
 (0)