This example demonstrates using @JS types defined in one module (Core) from another module (App) within the same Swift package.
-
Build the project:
swift package --swift-sdk $SWIFT_SDK_ID js --use-cdn -
Serve the files:
npx serve
Then open your browser to http://localhost:3000.