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

[ARRDT] Port ts-loader transform to native webpack plugin. #121

Open
alloy opened this issue Feb 10, 2022 · 0 comments
Open

[ARRDT] Port ts-loader transform to native webpack plugin. #121

alloy opened this issue Feb 10, 2022 · 0 comments

Comments

@alloy
Copy link
Member

alloy commented Feb 10, 2022

It would be ideal if our transformer was webpack loader agnostic and not add extra parsing/printing overhead.

For instance, TMP wants to use esbuild-loader instead of ts-loader (and esbuild doesn't have any way to hook in a transformer).

Example plugin that hooks into webpack's native AST is https://github.com/webpack/webpack/blob/fde018300aa52262c384e937c408d5dd97d62951/lib/UseStrictPlugin.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant