We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have a dynamic remote using vite. it will be host by a domain different from the host. The following is the exposed component
vite
import heart from '@/assets/heart.png'; export default function Entry() { return ( <div> <img src={heart} alt="" /> </div> ); }
The output structure
dist/ ├── assets │ ├── ... │ ├── heart-B7sPXKnk.png │ ├── index-lGpEGtzZ.js │ └── virtualExposes-DrUcl4CE.js ├── favicon.ico ├── index.html └── remoteEntry.js
The value of heart will be /assets/heart-B7sPXKnk.png. I can load can load the remote with http://localhost:4173/remoteEntry.js
/assets/heart-B7sPXKnk.png
http://localhost:4173/remoteEntry.js
How can i know the domain of remoteEntry.js is http://localhost:4173/ or any other domain ? any function/variable like __webpack_public_path__
remoteEntry.js
http://localhost:4173/
__webpack_public_path__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i have a dynamic remote using
vite
. it will be host by a domain different from the host. The following is the exposed componentThe output structure
The value of heart will be
/assets/heart-B7sPXKnk.png
. I can load can load the remote withhttp://localhost:4173/remoteEntry.js
How can i know the domain of
remoteEntry.js
ishttp://localhost:4173/
or any other domain ? any function/variable like__webpack_public_path__
The text was updated successfully, but these errors were encountered: