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

chore(storybook): minor cleanup #68

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

huyenltnguyen
Copy link
Member

Checklist:

Some minor cleanup.

@@ -5,7 +5,6 @@ module.exports = {
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-a11y",
"@storybook/addon-styling-webpack",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a duplicate.

@@ -70,7 +70,6 @@
"@storybook/addon-links": "^8.0.6",
"@storybook/addon-styling-webpack": "1.0.0",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/addon-webpack5-compiler-swc": "^1.0.2",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addon is unused.

Storybook provides 2 compiler: Babel and SWC. They recommend using SWC, but we are using babel in our code base, so the Babel addon should be used.

Ref: https://storybook.js.org/docs/builders/webpack#compiler-support.

@huyenltnguyen huyenltnguyen marked this pull request as ready for review April 11, 2024 05:11
@huyenltnguyen huyenltnguyen requested a review from a team as a code owner April 11, 2024 05:11
@Sembauke Sembauke merged commit ca111cc into freeCodeCamp:main Apr 11, 2024
4 checks passed
@huyenltnguyen huyenltnguyen deleted the chore/minor-cleanup branch April 11, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants