Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix verbose storybook warning #533

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

Closed
greyscaled opened this issue Mar 22, 2022 · 0 comments · Fixed by #989
Closed

Fix verbose storybook warning #533

greyscaled opened this issue Mar 22, 2022 · 0 comments · Fixed by #989
Assignees
Labels
site Area: frontend dashboard
Milestone

Comments

@greyscaled
Copy link
Contributor

Overview

When starting storybook, we get a noisy statement in the terminal:

Though the "loose" option was set to "true" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-methods since the "loose" mode option was set to "false" for @babel/plugin-proposal-private-property-in-object.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
["@babel/plugin-proposal-private-methods", { "loose": false }]
to the "plugins" section of your Babel config

Timing

I plan to address this in gap-week between 2022 SP06 and SP07

@greyscaled greyscaled self-assigned this Mar 22, 2022
@greyscaled greyscaled added site Area: frontend dashboard brainbreak labels Apr 4, 2022
greyscaled added a commit that referenced this issue Apr 13, 2022
greyscaled added a commit that referenced this issue Apr 13, 2022
* chore: fix storybook deprecation warning

Removes a deprecated CLI option and uses main.js staticDirs instead.

See: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#64-deprecations

* chore: fix storybook babel warning

Resolves: #533
@misskniss misskniss added this to the V2 Beta milestone May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants