1.2 KiB
1.2 KiB
stage | group | info |
---|---|---|
none | Development | To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers |
Tips
Clearing production compiled assets
To clear production compiled assets created with yarn webpack-prod
you can run:
yarn clean
Creating feature flags in development
The process for creating a feature flag is the same as enabling a feature flag in development.
Your feature flag can now be:
- Made available to the frontend via the
gon
- Queried in tests
- Queried in HAML templates and Ruby files via the
Feature.enabled?(:my_shiny_new_feature_flag)
method
More on feature flags
Running tests locally
This can be done as outlined by the frontend testing guide.