Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression where CLI doesnt build index.js #414

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Conversation

guybedford
Copy link
Contributor

Just noticed this regression on the CLI from the multi-entry work - when running ncc build x it was outputting dist/x.js instead of dist/index.js.

The fix is to ensure we pass a string input from the CLI when there is a single file, and an array when there is more than one.

@guybedford guybedford requested a review from styfle as a code owner June 3, 2019 20:05
@codecov-io
Copy link

Codecov Report

Merging #414 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #414   +/-   ##
=======================================
  Coverage   73.65%   73.65%           
=======================================
  Files          13       13           
  Lines         391      391           
=======================================
  Hits          288      288           
  Misses        103      103
Impacted Files Coverage Δ
src/cli.js 59.87% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ddaf55a...0949d32. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants