Add the ability to exclude assets based on RegExp patterns
Fix #11 does not work with webpack 4
Enhancement: