mirror of
https://github.com/swc-project/swc.git
synced 2024-11-25 22:34:04 +03:00
2bbd1e8485
**Description:** In Deno I'm now parsing stuff as a program more often because I sometimes now need to discover if something is a script or es module by looking at the contents. A problem is that the module errors are discarded when parsing as a script, but I still might need them later if I discover the program the program should be treated as an ES module. **BREAKING CHANGE:** Adds a new method to the `Tokens` trait. |
||
---|---|---|
.. | ||
benches | ||
examples | ||
scripts | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
colors.js |