webpack-contrib / purifycss-webpack

UNMAINTAINED, use https://github.com/FullHuman/purgecss-webpack-plugin
MIT License
772 stars 37 forks source link

Make sure searchFiles can flatten an array #78

Open bebraw opened 7 years ago

bebraw commented 7 years ago

If assets happen to return an array of assets instead of an individual asset, the search can return an array of arrays at the moment. search.files should normalize this (flatten to 1d array).