-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
no-duplicates rule with different webpack loaders #682
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
Comments
i'd recommend configuring webpack itself so that |
I like that idea! Probably will do something like |
@benmvp are those not both referencing the same file? |
@benmosher the implication i heard was that one provides the source code as text, the other parses it and provides its export. |
Yep what @ljharb said. I ended up not able to try it out because the webpack config change would've taken longer than the time I had. I will circle back at some point! |
I have a file that has some imports like:
The
no-duplicates
rule is considering these to be the same import even though one is code and the other is text.Is there a configuration of the
webpack
resolver I can use to combat this?Thanks!
The text was updated successfully, but these errors were encountered: