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
在IE11下,如果在qiankun执行前引入过currentScript的polyfill,则会出现:Cannot redefine non-configurable property 'currentScript'
qiankun/src/sandbox/patchers/dynamicAppend/common.ts
Line 222 in 4e3e36c
` if (!(('currentScript' in document))) { Object.defineProperty(document, 'currentScript', get: function() { ... }); } import { registerMicroApps, start } from "qiankun";
... start(); `
The text was updated successfully, but these errors were encountered:
用的哪个 polyfill,来个链接
Sorry, something went wrong.
https://github.com/amiller-gh/currentScript-polyfill/blob/master/currentScript.js
Successfully merging a pull request may close this issue.
What happens?
在IE11下,如果在qiankun执行前引入过currentScript的polyfill,则会出现:Cannot redefine non-configurable property 'currentScript'
qiankun/src/sandbox/patchers/dynamicAppend/common.ts
Line 222 in 4e3e36c
Mini Showcase Repository(REQUIRED)
`
if (!(('currentScript' in document))) {
Object.defineProperty(document, 'currentScript', get: function() { ... });
}
import { registerMicroApps, start } from "qiankun";
...
start();
`
Context
The text was updated successfully, but these errors were encountered: