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: properly support loader option #549

Merged
merged 1 commit into from
Jan 23, 2019
Merged

fix: properly support loader option #549

merged 1 commit into from
Jan 23, 2019

Conversation

tivac
Copy link
Owner

@tivac tivac commented Jan 23, 2019

Description

@modular-css/rollup-rewriter advertises support for a loader option, but it wasn't actually pumped through to the different format rewriters.

Motivation and Context

I want to use a custom loader, but couldn't.

How Has This Been Tested?

Tests already existed, but just tested for the defaults. Now at least they're fully-testing that codepath.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Jan 23, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #549   +/-   ##
=======================================
  Coverage   98.92%   98.92%           
=======================================
  Files          46       46           
  Lines        1026     1026           
  Branches      157      157           
=======================================
  Hits         1015     1015           
  Misses         11       11
Impacted Files Coverage Δ
packages/rollup-rewriter/formats/system.js 88.88% <ø> (ø) ⬆️
packages/rollup-rewriter/formats/amd.js 88.88% <ø> (ø) ⬆️
packages/rollup-rewriter/formats/es.js 100% <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 0e85fea...2c1fe94. Read the comment docs.

@tivac tivac merged commit ff38e83 into master Jan 23, 2019
@tivac tivac deleted the rewriter-loaders branch January 23, 2019 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant