Package Exports
- mix-json-group
- mix-json-group/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mix-json-group) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
MIX JSON GROUP
This simple plugin bundle json file content of the same name into a single file. use glob for json file matching.
Usage
1- install the plugin:
npm i mix-json-group
2- in webpack.mix.js file add the following:
require('mix-json-group');
//mix.jsonGroup(source,dist)
mix.jsonGroup('./resources/js/modules/**/locales/*.json', './locales')