Creates a index.js
/ index.ts
file with exported files from a folder. Its currently in BETA
Please, consider supporting my work as a lot of effort takes place to create this component! Thanks a lot.
npm install barrel-me -D
- Create a script
{
"scripts": {
"create-indexes": "barrel-me -d src/components src/pages"
}
}
- Run script
npm run create-indexes