react-markdown-preview icon indicating copy to clipboard operation
react-markdown-preview copied to clipboard

Failed to parse source map after installing/using MarkdownPreview

Open guillermoamaral opened this issue 1 year ago • 2 comments

Hello,

I started to see this odd warning after using MarkdownPreview (i.e., if I commented out the code that imports/uses MarkdownPreview the warning disappears). Any idea?

image

Many thanks in advance!

guillermoamaral avatar May 30 '24 00:05 guillermoamaral

@guillermoamaral Adding the following configuration to webpack can solve the issue

https://github.com/uiwjs/react-markdown-preview/blob/709a50e3139465c4353349e57ccf63ef7de1b102/website/.kktrc.ts#L21-L25

jaywcjlove avatar May 30 '24 01:05 jaywcjlove

@guillermoamaral

  • https://github.com/kktjs/kkt/issues/446

jaywcjlove avatar May 30 '24 01:05 jaywcjlove