Skip to content

Releases: tettusud/merge-jsons-webpack-plugin

Custom glob options fix

04 Apr 11:06

Choose a tag to compare

Custom glob options are getting overrides by defaults.

Pretty print and preserve duplicates.

28 Sep 15:48

Choose a tag to compare

Output formatting via space parameter added, preserving duplicates in an array if duplicates:true instead of overriding existing value.

Support for "prefixFileName" function

28 Apr 23:07
39bc4a5

Choose a tag to compare

When installed version 1.0.19, it will provide the support for custom "prefixFileName" function.
Credits to @pwachala.

BOM characters handling

21 Sep 05:39

Choose a tag to compare

File Extn Check Removed

27 Jul 14:40

Choose a tag to compare

Input file to merge need not be of .json extention, any file can be passed as an input as long as its content is strictly json format.
For further details check #37

Webpack 4 Deprecated Api fixes

16 Jun 18:49
213be32

Choose a tag to compare

Code modified to support Webpack4 and backward compatibility.

prefixFileName

12 May 03:39
022f0a3

Choose a tag to compare

New option prefixFileName added.
If true , the plugin will wrap the content of individual files with the corresponding file name as key and merge with result.

 sign_in.json
   {  
      "submit": "Sign in"
   }
sign_up.json
   {
     "submit": "Sign up" 
   }

Result:

{ 
    "sign_in": { 
        "submit": "Sign in"
    }, 
    "sign_up": { 
        "submit": "Sign up"
    }
}