@start-dev/rewrite-imports
v1.0.0
Published
Rewrite import paths in ESModules without a full parser like babel
Downloads
262
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.