-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[KOA-5703]: Bump css-loader and postcss-loader #2901
Conversation
Visit https://backpack.github.io/storybook-prs/2901 to see this build running in a browser. |
66a9c6b
to
31d2f96
Compare
Visit https://backpack.github.io/storybook-prs/2901 to see this build running in a browser. |
31d2f96
to
5fe3462
Compare
Visit https://backpack.github.io/storybook-prs/2901 to see this build running in a browser. |
5fe3462
to
354ce0d
Compare
Visit https://backpack.github.io/storybook-prs/2901 to see this build running in a browser. |
@@ -23,9 +23,8 @@ const sassFunctions = require('bpk-mixins/sass-functions'); | |||
|
|||
const postCssPlugins = require('../scripts/webpack/postCssPlugins'); | |||
|
|||
const { BPK_TOKENS, ENABLE_CSS_MODULES } = process.env; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the purpose of ENABLE_CSS_MODULES var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to be super old configuration which going through our docs and setup we never actually use anywhere so looks to be an irrelevant variable.
It also doesn't line up and work with the configuration we need to provide in the newer css-loader
so that we can specify our localIndentName
as it would either be a boolean or an object, which we always need to provide the localIndentName
, modules
would always need to be an object :)
Hope that helps, let me know if not
Bumps the following dependencies:
css-loader
postcss-loader
Makes required changes to webpack config for storybook to align with latest changes.
Remember to include the following changes:
README.md
(If you have created a new component)README.md