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

refactor: delete dependent pre built proxy modules #10427

Merged
merged 4 commits into from
Oct 14, 2022
Merged

Commits on Oct 11, 2022

  1. Delete dependent pre built virtual modules

    For the old version of "esbuild", in order to flatten the dependent pre built products, the agent module will be used to process the "require ('react /jsx runtime. js')". The reason why the path was not directly modified to redirect to the entry is that the products will have a nested structure. The subsequent wrapper is also added to prevent secondary packaging.
    However, for the current version of "esbuild", even if it is directly redirected to the entry module, the product name is still specified by "entryPoints" and will not result in secondary packaging or nested products. Therefore, we do not need to use the proxy module now.
    After deleting and adding the above code, “vite” still runs well, and the pre built product and product size will not change.
    ysy945 authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    4e92ad7 View commit details
    Browse the repository at this point in the history
  2. update

    update the error of typescript
    ysy945 authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    7428e4c View commit details
    Browse the repository at this point in the history
  3. Update esbuildDepPlugin.ts

    ysy945 authored Oct 11, 2022
    Configuration menu
    Copy the full SHA
    8a7f5e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. none

    ysy945 authored Oct 14, 2022
    Configuration menu
    Copy the full SHA
    126be37 View commit details
    Browse the repository at this point in the history