webpack terser plugin build error punc ({) when upgrade to v11 from v10 #6035
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
when upgrade to v11 from v10,webpack terser plugin build error。when downgrade v10,build success.
Build Error Error: js/p_extension-market-extension-$id.js from Terser plugin
Unexpected token: punc ({) [js/p_extension-market-extension-$id.js:35,2426631]
js/p_chat-index.js from Terser plugin
Unexpected token: punc ({) [js/p_chat-index.js:35,2426631]
Steps to reproduce
upgrade mermaid v10 to v11
Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: