I started learning Webpack and first decided to rewrite my gulp-build. One of the basic tasks in it is to recursively go through all the folders of the project, collecting all the CSS files into one.

I made the assembly of explicitly specified css-files, but it is inconvenient to import each css-file (prescribing the name), I just want to write something like import '/**/*.css' and that's it.

Please tell us how to properly configure the webpack to solve this problem.

0