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
Feature: Passthru metadata #329
Conversation
79b7cbe
to
fc7ae56
Compare
Current coverage is 82.31% (diff: 90.90%)@@ master #329 diff @@
==========================================
Files 6 6
Lines 153 164 +11
Methods 22 25 +3
Messages 0 0
Branches 33 34 +1
==========================================
+ Hits 125 135 +10
Misses 13 13
- Partials 15 16 +1
|
fc7ae56
to
1871902
Compare
Thanks for the PR. I cannot see any description on what you are changing and why. Could you elaborate a little bit more? |
Oh I see there is #254 |
There are a lot of unneeded commits in this PR, can you clean that up? |
1871902
to
823f42c
Compare
93f8fa6
to
dc1c824
Compare
- add metadataSubscribers option as an array of context functions to call - pass metadata to metadataSubscribers functions - add section about cacheDirectory ENOENT error to README.md
dc1c824
to
7f2ec4c
Compare
@Ognian seems like there is a merge conflict. You may want to clean that up. |
I'll see what I can do, but it won't be before the end of next week |
moving to #396 since I have no write access to vogel repo... |
will create a new pr set up on the new version... and link it to this one... |
I have to say I'm not sure if this should be merged into babel-loader, this is very specific to the react-intl usecase but the focus of babel-loader is simply making webpack use babel to parse js files. It might be better if the babel plugin would write its data to the disk and then another loader could simply pickup this data. |
@danez sorry but I totally disagree. Maybe at the moment there is only one babel plugin (although I remember at least another one) extracting meta information and passing it thru to webpack, but actually this is a very basic requirement: At the moment I'm rewriting the tests since you are using now ava. Please tell me if you are considering to merge this otherwise it is useless to write tests for something you will not merge... |
ok moved this to #398 |
Please Read the CONTRIBUTING Guidelines
In particular the portion on Commit Message Formatting
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
note: The following description was lifted from #254 (comment) from the original author @Ognian
This is needed when generating messages for translation from modules:
Does this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
Other information: