I wrote this to add a prefix to all antd
style rules (or any other external CSS files). It is far from perfect, but works surprisingly well at least for my needs ;-)
Thanks to @dbtedman for making this possible with his fine PostCSS postcss-prefixwrap plugin.
Prerequisites:
- make sure Gulp is installed (
yarn global add gulp-cli
, the requiredgulp
package is included inpackage.json
) - adapt variables at top of
gulpfile.js
to your needs