You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe. What other useful information could be in loader?
The only important I can think of atm is loader.addDependency(file) => ctx.watch(file)/ctx.webpack.watch(file) , but I will check what else we may have there 😛
I afraid webpack 1 users :D. But pack is not so popular. We can ask them to migrate to webpack 2 or keep old version.
I have no Twitter, but maybe a poll would be a good idea to see how popular the feature is, never seen it in the endless configs @extrac-text-webpack-plugin and the like, but who knows...
Of course.
👍
Good idea if we can wait about month (I am preparing for React London).
Yep I also in favour to wait, no rush at all and if I have a month to get it working I will continue experimenting with 'removing' css-loader and get CSSModules working with postcss-loader ou-of-the-box e.g
/cc @michael-ciniawsky Should we wait postcss 6.0.0 before we can release 2.0.0? Maybe for postcss 6.0.0 version we will use 3.0.0. I'm interested in a new version where there will not be a css-loader. They are use css-modules, but in most project i don't use their ( i am losing performance 😭 ).
@evilebottnawi I need to triage a few small things before actually ready and @ai needs to approve it then :), It's blocked by a few other things, while we can go with module.exports (CJS) for now, I need to test adding css-base from css-loader first (Module Deduplication), it's more complicated 😛
@michael-ciniawsky maybe you should be a maintainer for this loader? Anyway you answered for most of issues. Rest work is simple and doesn't need too much time.
@michael-ciniawsky Today I thought and came to a conclusion: now css-loader is not css loader (some project don't use css-modules, but css-loader use their and it is weird and no way disable their, module: false it is not solution, because postcss-modules-* plugins anyway apply).
In postcss-loader we want using their without css-loader, be right move all logic exclude css-modules from css-loader, also be right rename css-loader to css-modules-loader and remove all behavior not related to css-modules (imports, urls and etc). It is allow use postcss-loader for project don't use css-modules, if you need css-modules, just add css-modules-loader above postcss-loader.
This would not only give a huge performance advantage, but also clearly divide the mixed logic, which causes the head to explode
@michael-ciniawsky Also after release postcss-loader v2 it is should be named as css-loader 😄 (because it is veritable loader for css, without extra mixed logic as in css-loader).
Activity
ai commentedon Feb 22, 2017
Maybe. What other useful information could be in
loader?I afraid webpack 1 users :D. But
packis not so popular. We can ask them to migrate towebpack2 or keep old version.Of course.
Good idea if we can wait about month (I am preparing for React London).
michael-ciniawsky commentedon Feb 22, 2017
The only important I can think of atm is
loader.addDependency(file)=>ctx.watch(file)/ctx.webpack.watch(file), but I will check what else we may have there 😛I have no Twitter, but maybe a poll would be a good idea to see how popular the feature is, never seen it in the endless configs @extrac-text-webpack-plugin and the like, but who knows...
👍
Yep I also in favour to wait, no rush at all and if I have a month to get it working I will continue experimenting with 'removing'
css-loaderand get CSSModules working withpostcss-loaderou-of-the-box e.gBut experimental and only if it works without headaches :D
ai commentedon Feb 22, 2017
I added issue to bookmarks and will tweet about it on next week to collect more feedback.
Also we will need good step-by-step migration instructions.
[-]v2 ?[/-][+]v2[/+][-]v2[/-][+]v2.0.0[/+]alexander-akait commentedon Apr 13, 2017
/cc @michael-ciniawsky Should we wait postcss 6.0.0 before we can release 2.0.0? Maybe for postcss 6.0.0 version we will use 3.0.0. I'm interested in a new version where there will not be a
css-loader. They are usecss-modules, but in most project i don't use their ( i am losing performance 😭 ).michael-ciniawsky commentedon Apr 13, 2017
@evilebottnawi I need to triage a few small things before actually ready and @ai needs to approve it then :), It's blocked by a few other things, while we can go with
module.exports(CJS) for now, I need to test addingcss-basefromcss-loaderfirst (Module Deduplication), it's more complicated 😛ai commentedon Apr 13, 2017
@michael-ciniawsky maybe you should be a maintainer for this loader? Anyway you answered for most of issues. Rest work is simple and doesn't need too much time.
alexander-akait commentedon Apr 13, 2017
@ai @michael-ciniawsky i can help with this, besides, I am well acquainted with postcss and webpack 😄
ai commentedon Apr 13, 2017
Good idea too. Let's wait for @michael-ciniawsky answer and transfer maintaince 😊
michael-ciniawsky commentedon Apr 13, 2017
@ai ? 🙃 I can take 'full' maintainance of this loader of course 😛
npm owner addor an npm organisation (teams) in case you want more 'control'.@evilebottnawi Yeah sure welcome, Angular Commit Convention (
standard-version=>CHANGELOG.md), StandardJS >= v2.0.0 and we are up and running :)michael-ciniawsky commentedon Apr 13, 2017
@evilebottnawi I will recommend you for
css-loaderand co aswell, if you are interested, we need all hands we can get :Dmichael-ciniawsky commentedon Apr 13, 2017
@ai
postcss-loader=> webpack-contrib?ai commentedon Apr 13, 2017
@michael-ciniawsky welcome on board (you can add @evilebottnawi as well).
I hope to release PostCSS 6 in next week.
michael-ciniawsky commentedon Apr 13, 2017
No rush the webpack part will take longer :D
alexander-akait commentedon Apr 17, 2017
@michael-ciniawsky Today I thought and came to a conclusion: now
css-loaderis notcssloader (some project don't usecss-modules, butcss-loaderuse their and it is weird and no way disable their,module: falseit is not solution, becausepostcss-modules-*plugins anyway apply).In
postcss-loaderwe want using their withoutcss-loader, be right move all logic excludecss-modulesfromcss-loader, also be right renamecss-loadertocss-modules-loaderand remove all behavior not related tocss-modules(imports, urls and etc). It is allow usepostcss-loaderfor project don't usecss-modules, if you needcss-modules, just addcss-modules-loaderabovepostcss-loader.This would not only give a huge performance advantage, but also clearly divide the mixed logic, which causes the head to explode
alexander-akait commentedon Apr 17, 2017
@michael-ciniawsky Also after release
postcss-loaderv2 it is should be named ascss-loader😄 (because it is veritable loader for css, without extra mixed logic as incss-loader).michael-ciniawsky commentedon Apr 18, 2017
@evilebottnawi Could you please drop my your e-mail so we can add you to the @webpack slack 😛?
alexander-akait commentedon Apr 18, 2017
@michael-ciniawsky [email protected] 🥇
michael-ciniawsky commentedon Apr 18, 2017
You should got or get an invite soon :)