TYPE-001
When compiling the exported (exposes
) file TS type, the current project's tsconfig.json
will be used. If the configuration file is missing some properties, the build type will fail.
Execute the cmd
command in the error message parameter in the terminal, and repair the file or tsconfig
according to the error message.
If the cmd
command is executed without an error, but the error TS compilation fails is still reported, you need to check the exposes
field in ModuleFederationPlugin
: