vendredi 10 mars 2017

Can I make Ember template build fail by referencing something that doesn't exist?

I think this is a long shot but I am wondering if there is a clever trick that I am not aware of that can give me build time validation for the existing of something in an Ember template.

Say I have something in a template like this:



Is there any way I can trick the ember build process into producing a build error if foo doesn't exist? Or is there another way that I can get some build time safety from the template engine?




Aucun commentaire:

Enregistrer un commentaire