webpack-contrib/postcss-loader

Samples how to create plugin for additional dependencies are deprecated

nolimitdev opened this issue · 3 comments

Documentation Is:

  • Deprecated

Please Explain in Detail...

Samples here https://github.com/webpack-contrib/postcss-loader#add-dependencies-contextdependencies-builddependencies-missingdependencies how to create plugin are deprecated.

Your Proposal for Changes

Code postcss.plugin("...", ...) should be updated https://evilmartians.com/chronicles/postcss-8-plugin-migration or if it is interesting for you, plugin postcss-add-dependencies to solve this easily (oneliner) can be linked

Yep, PR welcome 👍

Ok, I will prepare it this week