Skip to content
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

Storybook PostCSS Deprecation Warning #574

Open
chawes13 opened this issue Jul 7, 2022 · 1 comment
Open

Storybook PostCSS Deprecation Warning #574

chawes13 opened this issue Jul 7, 2022 · 1 comment
Labels

Comments

@chawes13
Copy link
Contributor

chawes13 commented Jul 7, 2022

When running the storybook build, we receive the following deprecation warning:

info => Using implicit CSS loaders
(node:87882) DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss',
you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.

See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details.
(Use `node --trace-deprecation ...` to show where the warning was created)

Environment

  • @launchpad/lp-components version: 7.0.0
  • react version: 17.x
  • node version: 16.14.0

Expected Behavior

Ideally we wouldn't see this warning message.

Current Behavior

At the moment, it does appear that functionally Storybook is working as expected. Still, we should resolve the issue that is causing this warning to ensure that nothing now (or in the future) is broken.

Steps to Reproduce

Run yarn storybook:build.

Suggested Solution

Follow the instructions here: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins

@chawes13 chawes13 added the bug label Jul 7, 2022
@chawes13
Copy link
Contributor Author

chawes13 commented Jul 7, 2022

Credit: @mwislek raised this in #573

@chawes13 chawes13 changed the title Storybook Storybook PostCSS Deprecation Warning Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant