1.0.3 • Published 1 year ago
generate-assets-index v1.0.3
generate-assets-index
Installation
npm install generate-assets-index --save-dev
Add to package.json scripts
...
"scripts": {
"index-assets": "generate-assets-index assets/svgs assets/svgs",
}
...
Run script to index assets
This will generate file in assets/svgs/index.ts:
npm run index-assets