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

使用ESBuildMinifyPlugin 后treeshaking失效了 #380

Closed
2 tasks done
Versatile4396 opened this issue Dec 10, 2024 · 1 comment
Closed
2 tasks done

使用ESBuildMinifyPlugin 后treeshaking失效了 #380

Versatile4396 opened this issue Dec 10, 2024 · 1 comment
Labels
bug Something isn't working pending triage

Comments

@Versatile4396
Copy link

Problem

在vue2 项目中使用ESBuildMinifyPlugin压缩优化产物导致了有内容treeshaking失效,切换成terser 则不会有问题,有人遇到过类似的问题吗

Expected behavior

在vue2 项目中使用ESBuildMinifyPlugin压缩优化产物导致了有内容treeshaking失效,切换成terser 则不会有问题,有人遇到过类似的问题吗

Minimal reproduction URL

none

Version

1

Node.js version

1

Package manager

yarn

Operating system

macOS

Contributions

  • I plan to open a pull request for this issue
  • I plan to make a financial contribution to this project
@Versatile4396 Versatile4396 added bug Something isn't working pending triage labels Dec 10, 2024
@privatenumber
Copy link
Owner

This is an esbuild issue:
evanw/esbuild#3570

@privatenumber privatenumber closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage
Projects
None yet
Development

No branches or pull requests

2 participants