-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat(processor): add processor.resolve() #681
Conversation
Deploy preview for m-css failed. Built with commit c81ee19 https://app.netlify.com/sites/m-css/deploys/5db7ce354453800008cdb712 |
ee17c65
to
c81ee19
Compare
Codecov Report
@@ Coverage Diff @@
## master #681 +/- ##
=======================================
Coverage 98.44% 98.44%
=======================================
Files 45 45
Lines 1154 1154
Branches 179 179
=======================================
Hits 1136 1136
Misses 15 15
Partials 3 3
Continue to review full report at Codecov.
|
And update the tests that were already using the `._resolve()` version.
Fixes #679 by allowing the svelte preprocessor to use the same file resolution logic that the modular-css processor is using.
Travis already does it, and it's mostly noise.
c81ee19
to
adc139a
Compare
This is released in |
Description
Exposed previously private(ish)
processor._resolve()
asprocessor.resolve()
so it's obvious that it's fine and reasonable for consumers to use it.Motivation and Context
Fixes #679 by allowing the svelte preprocessor to use the exact same file resolution logic as the core
modular-css
package.How Has This Been Tested?
Added a new svelte test, all existing tests still pass.
Types of changes
Checklist: