Open k713927 opened 4 years ago
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.
excludes
array usesminimatch
under 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']
now has
excludes
,if can add 'includes
' is very good ,thank you ,and this plugin is very good