@sajadevo/prefix-classnames
v1.0.2
Published
Automatically add prefix to your project classnames.
Downloads
3
Readme
prefix-classnames
A small library for adding a prefix to your project classnames automatically.
How to use:
npm i @sajadevo/prefix-classnames
- create a
prefix-classnames.js
in the root of your project like this:
const { prefixClassnames } = require("@sajadevo/prefix-classnames");
prefixClassnames(rootDir, prefix);
- Then run
node prefix-classnames.js
or create a script for it to your package.json file.