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
Error: [qiankun]: You need to export lifecycle functions in my-demo entry
// with chain chain.output.library({ name:"kb_observer_[name]", type:'umd', umdNamedDefine: true, // export: options.export, }); chain.output.chunkLoadingGlobal("webpackJsonp_my_dem0"); chain.output.uniqueName('my_demo_app'); chain.output.globalObject('this');
if change chain.output.globalObject('this'); to chain.output.globalObject('self');, will works
chain.output.globalObject('this');
chain.output.globalObject('self');
The text was updated successfully, but these errors were encountered:
I think the UMD plugin will not change the default value of globalObject, you can override it if it it required by qiankun.
globalObject
Sorry, something went wrong.
No branches or pull requests
Error: [qiankun]: You need to export lifecycle functions in my-demo entry
if change
chain.output.globalObject('this');
tochain.output.globalObject('self');
, will worksThe text was updated successfully, but these errors were encountered: