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

Skip to content

Commit ffeddc3

Browse files
committed
chore: fix storybook babel warning
Resolves: #533
1 parent 25efeb1 commit ffeddc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/.storybook/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
// SEE: https://storybook.js.org/docs/react/configure/babel
2424
babel: async (options) => ({
2525
...options,
26-
plugins: ["@babel/plugin-proposal-class-properties"],
26+
plugins: [["@babel/plugin-proposal-class-properties", { loose: true }]],
2727
}),
2828

2929
// Static files loaded by storybook, relative to this file.

0 commit comments

Comments
 (0)