Skip to content

Commit

Permalink
chore: add v11 flag env variable to sass compilation config
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed Oct 19, 2021
1 parent 3a3e6a2 commit 27b4e2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const customProperties = require('postcss-custom-properties');
const rtlcss = require('rtlcss');

const {
CARBON_ENABLE_V11_RELEASE,
CARBON_ENABLE_V11_RELEASE = 'false',
CARBON_REACT_STORYBOOK_USE_CUSTOM_PROPERTIES = 'false',
CARBON_REACT_STORYBOOK_USE_RTL,
CARBON_REACT_STORYBOOK_USE_SASS_LOADER,
Expand Down Expand Up @@ -69,6 +69,7 @@ module.exports = {
$feature-flags: (
ui-shell: true,
enable-css-custom-properties: ${CARBON_REACT_STORYBOOK_USE_CUSTOM_PROPERTIES},
enable-v11-release: ${CARBON_ENABLE_V11_RELEASE},
);
${content}
`;
Expand All @@ -88,6 +89,7 @@ module.exports = {
$feature-flags: (
ui-shell: true,
enable-css-custom-properties: ${CARBON_REACT_STORYBOOK_USE_CUSTOM_PROPERTIES},
enable-v11-release: ${CARBON_ENABLE_V11_RELEASE},
);
`,
implementation: require('sass'),
Expand Down

0 comments on commit 27b4e2d

Please sign in to comment.