rsnext/packages/next/build/webpack/config/blocks
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
..
css Fix CSSM loader applying for both pages and app (#38761) 2022-07-18 15:27:48 +00:00
images Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
base.ts [edge] enable edge compiler source maps by default (#38365) 2022-07-06 18:17:57 +00:00