-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide mechanism to remove from production build #31
Comments
Nice. I was just thinking about this. My team might not want the style guide out in prod. |
This might be easy using https://github.com/kellyselden/ember-cli-funnel |
Nice! |
Would love to get this done automatically. In the mean time, can a documentation be provided to accomplish this? |
My use-case for this (or something like it) is to add freestyle documentation to an addon. That is, in development mode my library becomes a documentation-only app. When included in another app, my addon's documentation should be excluded. Perhaps the right strategy for my case is #32: move the freestyle docs into |
@chrislopresto Yeah, we need a way of removing freestyle from production, this should be dev only by default. Any update on this? |
Here is my attempt: #98 |
Document how to use https://github.com/kellyselden/ember-cli-funnel to exclude Freestyle-related content from production builds.
Rather than carry this as an explicit dependency, let's just document how to go about it. This will avoid conflicting with other unrelated use of ember-cli-funnel. It will also allow people to put some Freestyle guides/components in production while excluding others... will avoid the need to track/infer what portions of the app are using freestyle components... etc.
The text was updated successfully, but these errors were encountered: