These are chat archives for brunch/brunch

27th
Feb 2017
Douman
@DoumanAsh
Feb 27 2017 06:34
hm.. i tried to make plugin that exports JSON which returns promise that resolves something like {data: "module.exports.default = " + JSON.stringify(json) } but i get just export of string. Anyone can advise how to export json properly? Usually JSON.stringify works for writing json files
Douman
@DoumanAsh
Feb 27 2017 07:22
Turns out i wronly parsed JSON from json :D
Douman
@DoumanAsh
Feb 27 2017 10:25
My plugin for turing JSON into modules https://github.com/DoumanAsh/jsony-brunch/blob/master/index.js - i saw some json-brunch but it seems rather old and it has no repository any longer. Not sure if it works on new brunch
Aleksey Shvayka
@shvaikalesh
Feb 27 2017 10:26
brunch does it by itself
Douman
@DoumanAsh
Feb 27 2017 10:41
oh... do i need to configure it or it should be out of box?
where can i read about why brunch does on its own?