redoc icon indicating copy to clipboard operation
redoc copied to clipboard

compile failed when update redoc version

Open justiceti opened this issue 11 months ago • 1 comments

When I update redoc version from 2.1.1 to 2.2.0 I got an error when compile

error in ./node_modules/redoc/bundles/redoc.browser.lib.js

Module parse failed: Unexpected token (41:47711) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | margin: 30px 0 20px 0; | color: ${e=>e.color};

`;class ae extends e.PureComponent{render(){return e.createElement("div",{style:{textAlign:"center"}},e.createElement(se,{color:this.props.color},"Loading ..."),e.createElement(ie,{color:this.props.color}))}}var le=require

How can i deal with this?

Looking forward to your reply, thank you

justiceti avatar Jan 07 '25 02:01 justiceti

hi @justiceti . Please provide the details to reproduce your case.

AlexVarchuk avatar Jan 08 '25 16:01 AlexVarchuk