rsnext/packages/next/build/webpack
Tim Neutkens 628bb397b3
Fix bug with getServerSideProps when swcLoader is enabled (#29760)
Ported from #29185

These are all related to `swcLoader`:
- Fixes commonjs code being output as ESM
- Fixes bug with `getServerSideProps` not getting querystrings and added tests for it
- Disable SWC on Babel test suites
- Disable SWC on no-anon-default-export test suite
- Disable SWC on page-config test suite (pending porting of the Babel plugin)
- Ensure `sourcesContent` is part of the sourcemap



## 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
2021-10-09 14:39:53 +00:00
..
config Remove isWebpack5 checks (#29677) 2021-10-06 18:46:46 -05:00
loaders Fix bug with getServerSideProps when swcLoader is enabled (#29760) 2021-10-09 14:39:53 +00:00
plugins Add trace span for module readFile (#29759) 2021-10-09 13:18:58 +02:00
require-hook.ts the way towards webpack 5 typings (#29105) 2021-09-21 19:17:16 +02:00