-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
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
@webcomponents/custom-elements cause Cannot read properties of null #803
Comments
Found: chrome-extension-tools/packages/vite-plugin/src/node/plugin-fileWriter-polyfill.ts Lines 23 to 24 in 54002ea
But this block the development, can you make it optional? |
Still happen on latest version ("@crxjs/vite-plugin": "^2.0.0-beta.19",) workaround is comment out - magic.prepend(`import '${customElementsId}';`);
+ // magic.prepend(`import '${customElementsId}';`); |
Thanks for contributing to CRXJS! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 7 days. |
No one has time for this... |
This is an automated message. Please do not reply to this comment. |
Build tool
Vite
Where do you see the problem?
Describe the bug
My usage is
when doing
document.cloneNode(true)
:webcomponents-custom-elements.js cause error:
Can you make this dep optional? I'm not using custom element.
Reproduction
Use https://www.npmjs.com/package/@mozilla/readability in content script
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: