FormidableLabs / denim

A lightweight, npm-based template engine.
MIT License
16 stars 2 forks source link

Handle .env as special data #3

Closed imranolas closed 7 years ago

imranolas commented 7 years ago

In order to template env files in the same manner as other special dot files

ryan-roemer commented 7 years ago

Please update readme and add at least an assert for the new template variable in the tests. Thanks!

ryan-roemer commented 7 years ago

What happens if you have a real ".env" file in the templates base directory? (We're looking for "something in the templates module breaks" type things...)

ryan-roemer commented 7 years ago

Let's close this in favor of https://github.com/FormidableLabs/denim/pull/5 which can generically handle gitignored-but-I-still-want-it files.