rsnext/packages/next/build/swc
Tim Neutkens 9faf14e0b7
next/jest: Ensure typeof window is not transformed in jsdom environment (#31304)
Found that when the target is `jsdom` instead of `node` the "typeof window" transform is incorrect. This was causing an unexpected failure in on of the tests for vercel.com.


## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2021-11-11 15:05:32 +00:00
..
.cargo Update swc (#30685) 2021-10-31 12:15:39 +00:00
npm Fix publish native including non-packages (#30589) 2021-10-28 19:36:30 -05:00
src next-swc: Add displayNameAndId of styled-components (#31189) 2021-11-09 10:05:31 +00:00
tests next-swc: Add displayNameAndId of styled-components (#31189) 2021-11-09 10:05:31 +00:00
.rustfmt.toml Port next-ssg getStaticProps/getServerSideProps tree shaking Babel transform to rust (#27552) 2021-08-03 14:02:23 +02:00
build.rs Add initial next swc package with first transform (#27355) 2021-07-27 17:07:28 +02:00
Cargo.lock Update swc for jsc.paths (#31290) 2021-11-11 11:55:44 +01:00
Cargo.toml next-swc: Add displayNameAndId of styled-components (#31189) 2021-11-09 10:05:31 +00:00
index.js pass Buffer directly to Rust (#30975) 2021-11-05 15:12:06 +01:00
jest-transformer.js next/jest: Ensure typeof window is not transformed in jsdom environment (#31304) 2021-11-11 15:05:32 +00:00
options.js next/jest: Ensure typeof window is not transformed in jsdom environment (#31304) 2021-11-11 15:05:32 +00:00
rust-toolchain Add/styled jsx swc (#29005) 2021-09-15 09:24:31 +02:00