dshemendiuk / gulp-npm-dist

Copy minified (dist) files of modules listed in package.json "dependencies" field to your build path
26 stars 3 forks source link

it doesn't copy all .map files #5

Closed mariodeci closed 6 years ago

mariodeci commented 6 years ago

if I want to add all .map files, I configure "exclude" attributes in this way: excludes: [ '/test//*', '//Gruntfile.js', '//gulpfile.js', '//package.json', '//package-lock.json', '//bower.json', '//composer.json', '//yarn.lock', '//webpack.config.js', '/*/README', '//LICENSE*', '//CHANGELOG*', '/*/.yml', '//*.md', '//*.coffee', '/*/.ts', '//*.scss', '/*/.less' ] (all the default, but without */.map) but it doesn't copy all .map files of my npm depedencies

dshemendiuk commented 6 years ago

Hi, @mariodeci I've added option replaceDefaultExcludes. For your case, you have to set true

mariodeci commented 6 years ago

Thanks I'll try it