1---
2stage: none
3group: Development
4info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
5---
6
7# Tips
8
9## Clearing production compiled assets
10
11To clear production compiled assets created with `yarn webpack-prod` you can run:
12
13```shell
14yarn clean
15```
16
17## Creating feature flags in development
18
19The process for creating a feature flag is the same as [enabling a feature flag in development](../feature_flags/index.md#enabling-a-feature-flag-locally-in-development).
20
21Your feature flag can now be:
22
23- [Made available to the frontend](../feature_flags/index.md#frontend) via the `gon`
24- Queried in [tests](../feature_flags/index.md#feature-flags-in-tests)
25- Queried in HAML templates and Ruby files via the `Feature.enabled?(:my_shiny_new_feature_flag)` method
26
27### More on feature flags
28
29- [Deleting a feature flag](../../api/features.md#delete-a-feature)
30- [Manage feature flags](https://about.gitlab.com/handbook/product-development-flow/feature-flag-lifecycle/)
31- [Feature flags API](../../api/features.md)
32
33## Running tests locally
34
35This can be done as outlined by the [frontend testing guide](../testing_guide/frontend_testing.md#running-frontend-tests).
36