Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Add feature flag support for Storefront SCSS
issue: NEXT-19448
author: Tobias Berge
author_email: [email protected]
author_github: @tobiasberge
---
- Changed
composer.json
scriptbuild:js
and added command@php bin/console feature:dump
- Added
\Shopware\Storefront\Theme\ThemeCompiler::getFeatureConfigScssMap
which is used to provide a SCSS map of the current feature config - Added
scssFeatureConfig
toapp/storefront/webpack.config.js
which is used to provide a SCSS map of the current feature config - Added new SCSS function
feature()
inapp/storefront/src/scss/abstract/functions/feature.scss
which is used to check for features in the current feature config