05bdd715a8
Fixes #42534 * Use eager `import()` to load page/layout to avoid esm module resolution error, eager is to make sure all the sub resources like css are also included * Fix layer detection, should use `module.layer` directly since `module.resourceResolveData` is not alway presented. It lost when switching from `require()` to `import()` for page/layout component ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` |
||
---|---|---|
.. | ||
config | ||
loaders | ||
plugins | ||
require-hook.ts | ||
stringify-request.ts | ||
utils.ts |