Is it possible to add an 'includes'
now has excludes,if can add 'includes' is very good ,thank you ,and this plugin is very good
excludes array uses minimatch under the hood. Try to use negate pattern with ! character.
This should exclude everything except some-file.js
['!/src/includes/some-file.js']
Ping
Does not seem to work for me using 2.6.0 and I can't upgrade atm because Vue CLI still uses Webpack 4. I resolved the inclusion issue by using a loader with a specific rule regex instead of the plugin.
excludesarray usesminimatchunder the hood. Try to use negate pattern with!character.This should exclude everything except
some-file.js['!/src/includes/some-file.js']
this is wrong,the correct config:
['**', '!/src/includes/some-file.js']