I have
src/lib
- here is a folders with components. eg:
src/lib/button/button.js
src/lib/checkbox/checkbox.js
src/lib/drawer/drawer.js
etc.
How to compile all this files to target
folder
in result i want to get build:
target/button.js
(with transformed to es5 syntax)
target/checbox.js
(with transformed to es5 syntax)
target/drawer.js
(with transformed to es5 syntax)
multiple entries is not a solution for me. There will be more than 50+ components