terraform
terraform copied to clipboard
Asset pipeline for the Harp Web Server.
This is a new PR that adds fs.statSync(...) to the model when rendering partials. It allows referencing things like the last modified timestamp or file size in the model itself....
Related to #30, I think it would make sense to prevent minification of requested files in a _development_ environment (and to always minify them in a production environment). That would...
https://github.com/sintaxi/terraform/blob/master/lib/javascript/index.js#L58 Changing: ``` js cb(null, minify.js(js, minifyOpts)) ``` …to: ``` js cb(null, js, minifyOpts) ``` …solves the problem in this case (although removes minification elsewhere. The Browserify stuff is still...
For more managable content I've implemented variables injected into markdown. Now you can write `#{variable}` in `.md` file and it will be injected from `_data.json` or `globals`
As promised in #43, I have implemented support for these two formats. For now, only terraform supports them, building that into Harp won't be as easy I think.
Hello, after discovering Harp I've really wanted to have a way of concatenating JS files without adding a compilation step, so I went ahead and added Browserify to the pipeline....
- [x] Adds consistent CSS minification to vanilla CSS files - [ ] Adds consistent minification to HTML files The HTML one still has one failing test I’m not sure...
This adds Eyeglass support to Terraform for `.scss` files, closing #103. This PR also includes a (failing) test for `.sass` files, which works, but breaks regular `.sass` support in the...
**Don’t merge, in progress** Includes failing test and beginning of fix.
Referenced against #94. - Merges @vbwx’s Browserify support - Removes `.es` support, preprocess all `.js` files (also improves #30) and Browserify the ones that the requirements instead - Fixes how...