https://github.com/bitwalker/concatenate-brunch
Concatenate arbitrary files using Brunch
https://github.com/bitwalker/concatenate-brunch
Last synced: about 1 year ago
JSON representation
Concatenate arbitrary files using Brunch
- Host: GitHub
- URL: https://github.com/bitwalker/concatenate-brunch
- Owner: bitwalker
- Created: 2015-12-18T02:14:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T18:32:02.000Z (over 8 years ago)
- Last Synced: 2025-02-15T08:20:32.507Z (about 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## concatenate-brunch
Add this plugin to your project and use it like so:
```javascript
concatenate: {
files: {
'public/devices.json': {
type: 'json',
sources: [
'public/devices/1.json',
'public/devices/2.json',
'public/devices/3.json',
'public/devices/4.json',
'public/devices/5.json',
'public/devices/6.json',
'public/devices/7.json',
'public/devices/8.json',
'public/devices/9.json',
'public/devices/10.json',
],
},
},
}
```
The `type: 'json'` is a special flag which ensures the concatenated JSON is converted to a valid JSON array.
## License
MIT