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

Merged json files seem to be minified per default #50

Closed ampersand83 closed 4 years ago

ampersand83 commented 5 years ago

When merging two json files a and b the resulting merged json file c seems to be minified although I am in a development environment. Is there an option I can set to configure whether the resulting json file should be minified or not? If not this would be a really nice feature to implement in a future version.

tettusud commented 5 years ago

Noted, thanks for using the plugin, let me check and revert

tettusud commented 4 years ago

I have published new release 0.0.20. You need to pass space:{number} option to pretty print.For further details check readme / examples