-
-
Notifications
You must be signed in to change notification settings - Fork 282
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: allow multiple outputs for same input #136
feat: allow multiple outputs for same input #136
Conversation
@jdeniau Please rebase to latest |
b737e64
to
dea53d5
Compare
@michael-ciniawsky done |
[hash]: true | ||
[file.webpackTo]: { | ||
[hash]: true | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a specific use case that can't be accomplished using copyUnmodified
.
Based on the test case below, you could do the same thing without adding new functionality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I improved the test to add a transform method to the plugin. This way it does not work even if you add copyUnmodified
option.
For the record, when I had the bug, it was by copying the same file with the same transformation (basically babel + uglify) in two different locations for history purpose (two different files became only one, but both are referenced)
For the record the test is failing in Node 4 only with a gcc bug, I think you can restart it and it should work. Thanks |
Triggered a rebuild on Travis. |
Duplicate #165 |
Fixes #99