Skip to content

Commit ef45b5a

Browse files
committed
🤖 Remove exclude pattern from emotion React plugin
The exclude pattern was preventing proper transformation of emotion styled components. Allow all files to be transformed by the emotion babel plugin. _Generated with `cmux`_
1 parent 76ed07b commit ef45b5a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.storybook/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const config: StorybookConfig = {
3030
// Add React plugin with emotion configuration
3131
config.plugins.push(
3232
react({
33-
exclude: [/\.stories\.(t|j)sx?$/, /node_modules/],
3433
jsxImportSource: '@emotion/react',
3534
babel: {
3635
plugins: ['@emotion/babel-plugin'],

0 commit comments

Comments
 (0)