Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack terser plugin build error punc ({) when upgrade to v11 from v10 #6035

Open
copilot-a-sys opened this issue Nov 8, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@copilot-a-sys
Copy link

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

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@copilot-a-sys copilot-a-sys added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Nov 8, 2024
@copilot-a-sys copilot-a-sys changed the title webpck terser plugin build error when upgrade to v11 from v10 webpack terser plugin build error punc ({) when upgrade to v11 from v10 Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant