-
-
Notifications
You must be signed in to change notification settings - Fork 383
Open
Description
Describe the bug
when I use
library: {
type: 'umd',
export: packageJson.name,
name: packageJson.name,
},
the generated code for umd is:
/***/
"webpack/container/reference/hostapp"/*!*****************************************************************!*\
!*** external "hostapp@http://localhost:3000/mf-manifest.json" !
**************************************************************/
(module) {
"use strict";
module.exports = __WEBPACK_EXTERNAL_MODULE_webpack_container_reference_hostapp__;
/***/
},
what wrong with this ,how to fix it
Reproduction
library
Used Package Manager
npm
System Info
System:
OS: macOS 12.7.4
CPU: (8) arm64 Apple M1
Memory: 175.89 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.11.1 - /Users/dingchao/.nvm/versions/node/v20.11.1/bin/node
Yarn: 1.22.22 - /Users/dingchao/.nvm/versions/node/v20.11.1/bin/yarn
npm: 10.2.4 - /Users/dingchao/.nvm/versions/node/v20.11.1/bin/npm
pnpm: 10.18.0 - /Users/dingchao/.nvm/versions/node/v20.11.1/bin/pnpm
Browsers:
Chrome: 143.0.7499.193
Safari: 15.6.1Validations
- 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 Module federation issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels