onedesign / generator-one-base

A foundation for One Design Company projects on the web.
Other
1 stars 1 forks source link

Add conditionals in gulp config to check for .env file #80

Closed molwells closed 6 years ago

molwells commented 7 years ago

When using the generator to create a static (not Craft) site, it doesn't output a .env file. That's great, except our gulp config.js still tries to load the .env to use it's value for the proxyUrl prop.

cmalven commented 7 years ago

Oops. Yep that must've slipped through the cracks on #79

We'll need to output the .env file as part of the base generator in addition to (or instead of) outputting it as part of the Craft sub-generator.