Is there a way to build a webpack application with kind of this?
--src
| |--home
| | |--script.js
| |
| |--smt
| |--script.js
--dist
| |--home
| | |--script.js
| |
| |--smt
| |--script.js
I found a way to perform set entry point for a directory or multiple files. But the output is always like:
|--dist
| |--script1.js
| |--script2.js
| |--etc.js
So, can I compile all files with directories relationships?