Description
Hi! This library is cool, thanks for your work! When I view the source code, I found I can provide some better alternatives to some TS transformers.
React Refresh TS transformer: react-refresh-typescript (PR to React)
react-refresh-typescript
is provided in both ESM and CommonJS format. This package doesn't depend on any Node-JS specific functionalities. It's fully passed the test suit as the babel version does.
Import path rewrite: @magic-works/ttypescript-browser-like-import-transformer is a fully functional import path rewrite library for converting any imports to Web-ready imports. This library also considers the non-Node environment in mind when design. All IO (including import
statements) are delegated to a node
adaptor so if you need it, I can write a deno
adaptor and it's available for deno
.
Thanks!