1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-13 16:49:07 +00:00
bramw_baserow/web-frontend/modules/core/plugins/featureFlags.js
2022-04-15 14:12:11 +00:00

8 lines
357 B
JavaScript

export default function ({ app }, inject) {
// A comma separated list of feature flags used to enable in-progress or not ready
// features for developers. See docs/development/feature-flags.md for more info.
const FEATURE_FLAGS = (app.$env.FEATURE_FLAGS || '')
.split(',')
.map((flag) => flag.trim())
inject('featureFlags', FEATURE_FLAGS)
}