rsnext/packages/next/build/webpack/config
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
..
blocks Fix CSSM loader applying for both pages and app (#38761) 2022-07-18 15:27:48 +00:00
helpers.ts feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
index.ts Skip loading unused plugins in next dev (#37430) 2022-06-03 14:47:16 -04:00
utils.ts Skip loading unused plugins in next dev (#37430) 2022-06-03 14:47:16 -04:00