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

Update parser to treat file extensions as case-insensitive #743

Merged

Conversation

brandon93s
Copy link
Contributor

This PR makes registration and resolution of parsers by file extension case-insensitive. Currently, to handle both .md and .MD or .jpg and .JPG you'd need to register both.

@codecov-io
Copy link

Codecov Report

Merging #743 into master will decrease coverage by 0.6%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #743      +/-   ##
==========================================
- Coverage   89.55%   88.95%   -0.61%     
==========================================
  Files          62       62              
  Lines        1992     1992              
==========================================
- Hits         1784     1772      -12     
- Misses        208      220      +12
Impacted Files Coverage Δ
src/Parser.js 100% <100%> (ø) ⬆️
src/worker.js 90.9% <0%> (-9.1%) ⬇️
src/assets/CSSAsset.js 82.35% <0%> (-7.36%) ⬇️
src/Logger.js 43.54% <0%> (-6.46%) ⬇️
src/WorkerFarm.js 91.22% <0%> (-1.76%) ⬇️

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 8c3c4be...f7596c1. Read the comment docs.

@devongovett devongovett merged commit ab713a3 into parcel-bundler:master Feb 5, 2018
@brandon93s brandon93s deleted the case-insensitive-file-ext branch February 18, 2018 18:54
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