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

Support transpileDependencies #2922

Closed
wcldyx opened this issue Apr 9, 2021 · 1 comment
Closed

Support transpileDependencies #2922

wcldyx opened this issue Apr 9, 2021 · 1 comment

Comments

@wcldyx
Copy link

wcldyx commented Apr 9, 2021

Clear and concise description of the problem

want : I hope to be able to customize the node_modules package to be compiled in real time, like the transpileDependencies property of vue cli3

Suggested solution

Alternative

Additional context

@nihalgonsalves
Copy link
Member

nihalgonsalves commented May 11, 2021

You can specify your own esbuild plugins with #2991, released in v2.3.0.

These plugins are not applied during build (only dep scan and optimisation), so you will have to create both an esbuild & Vite/rollup entry if you need certain behaviour in both cases.

We can continue the discussion about pre-dep-optimization Vite hooks in #3124.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants