Karibash

Results 5 comments of Karibash

I think this is the simplest solution. ```tsx import Image from 'next/future/image'; const OriginalImage = Image.default; Object.defineProperty(Image, 'default', { configurable: true, value: props => , }); ```

> I ran into the same issue and could track it to this change: [f29ab08#diff-d62fd402ee470b9082046b4a435f031dd8539650efc92ac2ea645f8ded2a4c57R55](https://github.com/facebook/lexical/commit/f29ab08dbf9c0b14b89ebef44fa243e712d817ad#diff-d62fd402ee470b9082046b4a435f031dd8539650efc92ac2ea645f8ded2a4c57R55) > > If you remove the "." from the `PUNCTUATION_OR_SPACE` regex, then the issue disappears....

@stovmascript It has not been released yet, but it looks like the option to use SWCLoader is already supported on the [Storybook side](https://github.com/storybookjs/storybook/blob/next/docs/api/main-config-framework.md#optionsbuilderuseswc). Maybe we can archive storybook-addon-swc already.

@yusukebe What do you think about this?

@yusukebe Thanks for the reply. Sounds easy enough, I'll give it a try. I think I can get a PR out by the end of tomorrow.