lundi 17 septembre 2018

How to exclude a route and related files while ember build

I have a repo with in-repo add-ons and I want to create a route (say dev-docs) which will have docs/style guides on how to use those add-ons, for developers. As this route is only for dev purpose I want this route (dev-docs) and related *.css, *.js and *.hbs files to be excluded from /dist.

My requirement is that I don’t want to host dev-docs separately as it becomes complex to maintain if the number of add-ons grow.

Is there any way to do it. I am currently looking into this package. But looking for other ways to implement the same.




Aucun commentaire:

Enregistrer un commentaire