Locals
How do I pass locals? I'd really like to pass in data to keep my jade dry. 🤘
Same here. I want to migrate a http://harpjs.com/ project to parcel.
Harp has a harp.json for data that is available to all templates and _data.json which maps filenames to data. You can also access data about the file you're in http://harpjs.com/docs/development/contents http://harpjs.com/docs/development/current
I have never used parcel before and I'm not sure if it's even something that fits into its philosophy.
i'd love it if it looked in a folder called /data, used quaff, and piped it as locals.
would still be 0 config..
if you shared quickly how that could be implemented in this plugin, i could fork and try to offer it