preactjs-templates / material

The material design `preact-cli` template
MIT License
44 stars 20 forks source link

Use per-env instead if-env that's deprecated #22

Closed renatoagds closed 4 years ago

renatoagds commented 5 years ago

Today, we're using if-env to run commands based in env, but it's deprecated.

This PR replaces it to per-env, that is suggested in if-env: https://github.com/ericclemmons/if-env

renatoagds commented 5 years ago

@prateekbh can you take a look into this one?

ForsakenHarmony commented 4 years ago

didn't know we had such an old PR laying around here, sorry

we've decided to get rid of the "magic" switching

thanks for your contribution nonetheless