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