Skip to content

Commit

Permalink
tweak dir / file error message cases
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jun 4, 2018
1 parent b9f085a commit ea21780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rollup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function rollup(
error({
code: 'INVALID_OPTION',
message:
'When providing multiple entry points, the output.dir option must be used, not output.file.'
'When building multiple input entry points, the output.dir option must be used, not output.file.'
});
}

Expand Down Expand Up @@ -336,7 +336,7 @@ export default function rollup(
) {
error({
code: 'MISSING_OPTION',
message: 'You must specify output.dir when code-splitting.'
message: 'You must specify output.file or output.dir for the build.'
});
} else if (
!inputOptions.experimentalCodeSplitting &&
Expand Down

0 comments on commit ea21780

Please sign in to comment.