feat: add remotePlugin option to control shared module bundling #327
Annotations
2 errors
Test Library Check
Process completed with exit code 1.
|
Test Library Check:
src/utils/__tests__/normalizeModuleFederationOption.test.ts#L13
AssertionError: expected { exposes: {}, …(17) } to deeply equal { exposes: {}, …(15) }
- Expected
+ Received
Object {
"dev": undefined,
"dts": undefined,
"exposes": Object {},
"filename": "remoteEntry-[hash]",
+ "getPublicPath": undefined,
"ignoreOrigin": false,
"implementation": "/home/runner/work/vite/vite/node_modules/.pnpm/@module-federation[email protected]/node_modules/@module-federation/runtime/dist/index.cjs.cjs",
"library": undefined,
"manifest": false,
"name": "test-module",
+ "remotePlugin": false,
"remotes": Object {},
"runtime": undefined,
"runtimePlugins": Array [],
"shareScope": "default",
"shareStrategy": "loaded-first",
"shared": Object {},
"virtualModuleDir": "__mf__virtual",
}
❯ src/utils/__tests__/normalizeModuleFederationOption.test.ts:13:62
|
Loading