denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
148 stars 45 forks source link

Compare cjs exports implementation with one in esm.sh #75

Closed dsherret closed 4 months ago

dsherret commented 2 years ago

https://github.com/esm-dev/esm.sh/blob/master/packages/cjs-esm-exports/src/cjs.rs

We should at the minimum add more tests from here: https://github.com/esm-dev/esm.sh/blob/master/packages/cjs-esm-exports/src/test.rs

LeoDog896 commented 1 year ago

The link changed, by the way: