-
Notifications
You must be signed in to change notification settings - Fork 20
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
Failing test #9
Comments
This failing test is related to #3, which I think is a wontfix (I should remove the test). The |
Ah, good to know, thanks. |
@arcanis I might be missing something, but it appears the |
The tests under their current form mostly are "it should not break feature X from webpack". Since Yarn itself is built using Of note, the current tests don't go through the |
Of note: I'm currently in the process of proposing it for being a builtin plugin, in which case it would benefit from all the existing test infra (it also mocks a small PnP API so it's a bit more extensive that the current testsuite). |
Oh. In that case, it would be better to backport that PR to older enhanced-resolve branches, if only because it would allow replacing this terrible, terrible hack: resolver._plugins.file = resolver._plugins.file.map(plugin => (
plugin.toString().indexOf('"resolved symlink to "') < 0 ? plugin : (request, callback) => callback()
)); by something much nicer like https://github.com/webpack/enhanced-resolve/pull/168/files#diff-2d048cd0f0a4be9ba200a00089d3f3edR295 I'm afraid this turns out too deep a rabbit hole for me. I'll first try working around it by avoiding this plugin altogether - by using something like |
I'm curious though - what's preventing you from upgrading to more recent Webpack releases? Wouldn't that be less work? |
I'm refactoring tests for a Webpack plugin (you might remember it) and I'd rather not drop compatibility with, and thus tests for, (at least) Webpack 3 just yet. I will, if this turns into a major ordeal, but I'm pretty close to a simple solution for keeping them around. |
I was thinking of taking a shot at #2, but it would be nice if all tests would pass first.
The text was updated successfully, but these errors were encountered: