You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- Normalize tegg manifest moduleReferences paths with moduleDescriptors
unitPath so LoaderFactory can match precomputed decoratedFiles in
bundled runtime.
- Include app/port decorated files in EntryGenerator coverage.
- Let tegg LoaderUtil load pre-bundled files through the registered
bundle module loader before falling back to dynamic import.
## Tests
- pnpm -C tools/egg-bundler exec vitest run test/ManifestLoader.test.ts
test/EntryGenerator.test.ts
- pnpm exec vitest run tegg/core/loader/test/Loader.test.ts
- pnpm -C tools/egg-bundler run typecheck
- pnpm -C tegg/core/loader run typecheck
- pnpm -C tools/egg-bundler run lint
- pnpm exec oxlint --type-aware tegg/core/loader/src/LoaderUtil.ts
tegg/core/loader/test/Loader.test.ts
- pnpm exec oxfmt --check tools/egg-bundler/src/lib/ManifestLoader.ts
tools/egg-bundler/test/ManifestLoader.test.ts
tools/egg-bundler/test/EntryGenerator.test.ts
tegg/core/loader/src/LoaderUtil.ts tegg/core/loader/test/Loader.test.ts
- git diff --check
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Enhanced module loading with improved bundler support for better
module resolution and TEgg manifest handling.
* **Bug Fixes**
* Improved error handling for module loading failures with clearer error
messages.
* **Tests**
* Added comprehensive test coverage for bundled module loading scenarios
and manifest normalization.
* **Chores**
* Added type definitions workspace dependency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
// avoid windows path issue: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
// avoid windows path issue: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
0 commit comments