rsnext/packages/next/build/webpack/config/blocks/css
Jiachi Liu 7e5cb510c4
Fix CSSM loader applying for both pages and app (#38761)
## Bug

x-ref: #38691

* Previous configured loader.issue results into a single function and will bail during next build, tune the rule set conditions to make it work for both pages and app dir
* prefer to use `mod.resourceResolveData?.path` instead of `mod.userRequest` since userRquest contains the applied loaders info

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
2022-07-18 15:27:48 +00:00
..
loaders Fix CSS modules imported from client components in app dir (#38310) 2022-07-05 00:35:29 +02:00
index.ts Fix CSSM loader applying for both pages and app (#38761) 2022-07-18 15:27:48 +00:00
messages.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
plugins.ts allow to provide postcss plugin options as a string (#35173) 2022-04-08 16:58:50 +00:00