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

[Bug Report]: default minify work wrong with es6 export #1699

Closed
ducaiwei opened this issue Aug 7, 2024 · 0 comments
Closed

[Bug Report]: default minify work wrong with es6 export #1699

ducaiwei opened this issue Aug 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ducaiwei
Copy link

ducaiwei commented Aug 7, 2024

Steps to reproduce

  1. npm install @farmfe/[email protected]
  2. es6 export part
    image
  3. es6 import part
    image
  4. farm build, runtime error
    image

Reproduce link

No response

What is actually happening?

es6部分导出,build minify默认会混淆导出的名字,但是import的名字不会混淆,导致运行时报错

System Info

System: mac
@shulandmimi shulandmimi added the bug Something isn't working label Aug 7, 2024
@wre232114 wre232114 self-assigned this Aug 8, 2024
wre232114 added a commit that referenced this issue Aug 18, 2024
wre232114 added a commit that referenced this issue Aug 19, 2024
* fix: #1672

* chore: update lockfile

* chore: update snapshots

* fix: #1715 and #1699

* chore: remove codspeed.yaml

* chore: add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants