rsnext/packages/next-swc/crates/next-dev-tests
Tobias Koppers bb0977cf77 initial work for compile-time evaluation (vercel/turbo#3495)
Allows to skip unreachable code based on compile-time constant
conditions

e. g.

```
if (!process.turbopack) {
  require("will-not-be-processed");
}
```

* add if() and process.turbopack fixes WEB-491
* Removes unreachable code fixes WEB-498
* evaluate some logical operations `&&`, `||`, `??`, `!`
* fix arguments handling fixes WEB-529
* nested effects for function called with closures
* handle closures when array methods are used fixes WEB-538
* evaluates `process.turbopack` fixes WEB-496
2023-02-03 17:34:17 +01:00
..
tests initial work for compile-time evaluation (vercel/turbo#3495) 2023-02-03 17:34:17 +01:00
build.rs Introduce next-dev-tests to rebuild automatically on test input changes (vercel/turbo#3288) 2023-01-20 15:12:13 +01:00
Cargo.toml Introduce next-dev-tests to rebuild automatically on test input changes (vercel/turbo#3288) 2023-01-20 15:12:13 +01:00