2018-03-07 18:32:38 +00:00
# Tips
2018-05-29 16:40:18 +00:00
## Clearing production compiled assets
To clear production compiled assets created with `yarn webpack-prod` you can run:
```
yarn clean
```
2019-03-20 09:10:47 +00:00
## Creating feature flags in development
2019-05-19 23:27:22 +00:00
The process for creating a feature flag is the same as [enabling a feature flag in development ](../feature_flags.md#enabling-a-feature-flag-in-development ).
2019-03-20 09:10:47 +00:00
Your feature flag can now be:
2019-05-19 23:27:22 +00:00
- [made available to the frontend ](../feature_flags.md#frontend ) via the `gon`
- queried in [tests ](../feature_flags.md#specs )
2019-03-20 09:10:47 +00:00
- queried in HAML templates and ruby files via the `Feature.enabled?(:my_shiny_new_feature_flag)` method
### More on feature flags
2019-05-19 23:27:22 +00:00
- [Deleting a feature flag ](../../api/features.md#delete-a-feature )
- [Manage feature flags ](../feature_flags.md )
- [Feature flags API ](../../api/features.md )