We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sideEffects: false
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
Maybe related: #188 #202
Rules order is consistent between development and production
Rule order is defined by imports order in development, and by usage order in production
https://github.com/Hypnosphi/style-loader-duplicates/tree/mcep
Note that I import a before b, but use b before a. This leads to text being red in dev and blue in prod
a
b
import {a} from './a.css' import {b} from './b.css' document.body.innerHTML = `<div class="${b} ${a}">Text</div>`
The text was updated successfully, but these errors were encountered:
Please open the issue in webpack, it is out of scope this plugin
Sorry, something went wrong.
sideEffects: true
No branches or pull requests
Maybe related: #188 #202
Expected Behavior
Rules order is consistent between development and production
Actual Behavior
Rule order is defined by imports order in development, and by usage order in production
Code / How Do We Reproduce?
https://github.com/Hypnosphi/style-loader-duplicates/tree/mcep
Note that I import
a
beforeb
, but useb
beforea
. This leads to text being red in dev and blue in prodThe text was updated successfully, but these errors were encountered: