rsnext/packages/next/build/webpack
Shu Ding 085085ebf1
Fix global CSS file imports (#38339)
Follow up of #38310 and #38329, this PR adjusts the loader rules to allow importing global CSS files from the app dir.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] 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 `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-07-05 23:07:13 +00:00
..
config Fix global CSS file imports (#38339) 2022-07-05 23:07:13 +00:00
loaders Ensure trailing slash is handled correctly with middleware (#38282) 2022-07-04 09:31:07 -05:00
plugins Fix CSS modules imported from client components in app dir with next build (#38329) 2022-07-05 16:37:50 +00:00
require-hook.ts Pre-compile more dependencies (#32742) 2022-01-17 15:17:22 +00:00
stringify-request.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00