Skip to content

Commit

Permalink
(clean): remove redundant set of watch opts (jaredpalmer#671)
Browse files Browse the repository at this point in the history
- another thing that was missed in jaredpalmer#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>
  • Loading branch information
2 people authored and paul-vd committed Dec 1, 2020
1 parent ce8ae35 commit 666635d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,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 Promise.all(
opts.output.file.map((file: string) =>
Expand Down

0 comments on commit 666635d

Please sign in to comment.