Skip to content

Commit

Permalink
(clean): remove redundant set of watch opts (#671)
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
agilgur5 and kotarella1110 authored Apr 11, 2020
1 parent 72c06b9 commit 351936e
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 351936e

Please sign in to comment.