Say, I have a repo with in-app 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. So, while building my app, I want that route (dev-docs
) and related *.css
, *.js
and *.hbs
files to be excluded from /dist
. I don’t want to host dev-docs separately as it becomes complex to maintain as the number of add-ons grow.
- You can use hooks to exclude files/folders from your build (e.g.
preprocessTree
): Addon - ember-cli
or
- Use
ember-cli-funnel
addon to make your life easier: ember-cli-funnel - npm