jsoverson / preprocess

Preprocess HTML, JavaScript, and other files with directives based off custom or ENV configuration
Other
366 stars 80 forks source link

Multiple conditions with OR relationship in @if #136

Open Rey-Wang opened 5 years ago

Rey-Wang commented 5 years ago

multiple conditions with AND relationship I can use Nested @ifstatement, like this:

//@if ENV!='dev'
//@if ENV!='prod'
App.controller('devController', function() {})
//@endif
//@endif

how to Implement code like //@if ENV!='dev' || ‘prod’

Rey-Wang commented 5 years ago

@jsoverson

Rey-Wang commented 5 years ago

Is this project still alive? 😂