-
-
Notifications
You must be signed in to change notification settings - Fork 604
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
refactor: drop css
modules
#748
Conversation
BREAKING CHANGE: use `postcss-modules` plugin with `postcss-loader`
Codecov Report
@@ Coverage Diff @@
## master #748 +/- ##
==========================================
- Coverage 98.25% 96.95% -1.31%
==========================================
Files 10 6 -4
Lines 344 197 -147
Branches 76 57 -19
==========================================
- Hits 338 191 -147
Misses 6 6
Continue to review full report at Codecov.
|
BREAKING CHANGE: `camelCase` option was removed
431ee12
to
6b83876
Compare
5c3dfe3
to
e20ba8e
Compare
I'm not agreeing with that change as the new boilerplate adds unneeded sections
and removes useful additions like the options table as overview and to navigate, also Woke (old README)Broke (new README)more repos use the 'old' style atm, I don't know who wants to update all of them, shellscape (who did most of the recent updates) doesn't seemed to be active anymore (?). Now we have again an inconsistent mix here again... |
@michael-ciniawsky Let's discuss this in Once we decide how it should look, we will immediately update Feel free to open issue and ping me. |
kk, lets discuss it separately |
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.
👍
How are we going to landing this ? Will you rebase and reword/squash the commits for the CHANGELOG and we rebase merge it or should we squash merge it as one commit, which would be ok for the BREAKING CHANGES but loses the features and fixes mentioned above (first comment) 😯 ? |
|
I will squash all commits and write CHANGELOG before release (because conventional commits appears only here).
Why? We already have tag https://github.com/webpack-contrib/css-loader/tree/v1.0.0, no need branch. Anyway if you think it is ok, feel free to do this 👍 |
Because we will likely have to support the 1.x line for some time because of CSS Modules ? How to do a release there otherwise ? Maybe I'm missing something, not too familiar supporting and releasing multiple major release lines... |
@michael-ciniawsky yep, you are right, let's create done https://github.com/webpack-contrib/css-loader/tree/version-1 |
@michael-ciniawsky i will merge this PR in |
css
modulescss
modules
Briefly
Bug fixes
error
to dependencies graph if something throw error (if you have broken css code on first watch run, before it requires restart watching, now it is no longer necessary)Features
ast
frompostcss-loader
(if used), it is decrease build timeimport
andexport
what you want, also allows to modify generated code)Breaking changes
modules
option, usepostcss-modules
plugin withpostcss-loader
localIdentName
optioncamelCase
option