Open
Description
Describe the bug
moduleA:
export const App = () => null;
moduleB:
export * from 'moduleA';
moduleC:
import { App } from 'moduleB';
// ...other code
remote application:
import Runtime from "@garfish/es-module";
const runtime = new Runtime();
runtime
.analysisModule(
`import 'http://localhost:5173/src/moduleC';`
);
Reproduction:
https://github.com/PIMBA/rspack-tests/tree/main/garfish-test
cd vite-test-app
pnpm run dev
cd garfish-test
pnpm run dev
Maybe some
Reproduction
https://github.com/PIMBA/rspack-tests/tree/main/garfish-test
Used Package Manager
pnpm
System Info
System:
OS: macOS 13.4
CPU: (8) arm64 Apple M1
Memory: 86.17 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - /usr/local/bin/node
Yarn: 1.22.11 - ~/.npm-global/bin/yarn
npm: 9.5.1 - /usr/local/bin/npm
pnpm: 6.23.6 - ~/Library/pnpm/pnpm
Watchman: 2023.05.22.00 - /opt/homebrew/bin/watchman
Browsers:
Chrome: 114.0.5735.133
Safari: 16.5
npmPackages:
@garfish/es-module: ^1.16.2 => 1.16.2
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Garfish issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Assignees
Labels
No labels