Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@start-dev/rewrite-imports

start-dev-bot492MIT1.0.0TypeScript support: included

Rewrite import paths in ESModules without a full parser like babel

readme

@start-dev/rewrite-imports

A very fast utility for rewriting ES Modules import paths. This uses a Web Assembly library that lexes (but does not fully parse) the JavaScript to find thee locations of imports, making it much faster than applying a similar transformation using babel or similar.