rsnext/packages/next/build/webpack
Shu Ding b18489461b
Make sure polyfills are added for browsers without module support (#41029)
This PR makes sure that the same polyfills are added in app dir for
browsers that match `nomodule`. Main difference from the polyfills in
pages is that the script tags here cannot have `defer` as all other
scripts will be async by default, and polyfills must be executed before
all of them.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a 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`
- [x] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-09-29 16:22:21 -07:00
..
config Font loader support in app (#40898) 2022-09-27 18:10:05 +00:00
loaders Alias all client, shared, pages dist assets for esm (#41034) 2022-09-29 21:24:04 +00:00
plugins Make sure polyfills are added for browsers without module support (#41029) 2022-09-29 16:22:21 -07:00
require-hook.ts Remove precopied styled-jsx (#39520) 2022-08-12 17:08:38 +00:00
stringify-request.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00