Skip to content

Commit

Permalink
(clean): remove redundant set of watch opts
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 <[email protected]>
  • Loading branch information
agilgur5 and kotarella1110 committed Apr 11, 2020
1 parent f58de19 commit ed24fd4
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 @@ -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);
}
Expand Down

0 comments on commit ed24fd4

Please sign in to comment.