tettusud / merge-jsons-webpack-plugin

This plugin is used to merge json files into single json file,using glob or file names
https://npmjs.com/package/merge-jsons-webpack-plugin
Apache License 2.0
36 stars 20 forks source link

Override globOptions with defaults only if none are provided #57

Closed doshprompt closed 4 years ago

doshprompt commented 4 years ago

https://github.com/tettusud/merge-jsons-webpack-plugin/blob/master/index.js#L217

The order should be reversed so if cwd and mark are explicitly provided they are not replaced by the defaults.

Right now, no matter what mark and/or cwd are provided they will always revert to the default globOptions

tettusud commented 4 years ago

Thanks @doshprompt released a new version 1.0.21