core
core copied to clipboard
fix: loadEntry default behavior
Description
loadEntry hook
returns the unprocessed module according to the original logic, and the current situation will report an error
{
name: "loadEntryPlugin",
loadEntry({remoteInfo}) {
if (remoteInfo.name === "test") {
return {init, get}
}
// other module error
}
}
Related Issue
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
Checklist
- [x] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] I have updated the documentation.