Short Explanation:
How to exclude all component.hbs
, component.hbs.js
and this.route('component)
mention in router.js
related to a component while ember build.
Long Explanation:
Think that you have a component in your ember app which you want to be available only in the development environment (lets not worry about how good this approach is, for now!!) and must be removed while building for production.
I have tried a few ember-cli
plugins (broccoli-funnel, ember-cli-funnel) which excludes component.hbs.js
file but I can still see the references to the component.hbs
and this.route('component')
in the compiled JS file in /dist
folder.
Aucun commentaire:
Enregistrer un commentaire