We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43435a4 commit acdf363Copy full SHA for acdf363
src/index.ts
@@ -1,8 +1,4 @@
1
-if (window.customElements) {
2
- // eslint-disable-next-line global-require
3
- require('@webcomponents/webcomponentsjs/custom-elements-es5-adapter');
4
-}
5
-// eslint-disable-next-line import/first
+import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter';
6
import ReactHTMLElement from './ReactHTMLElement';
7
8
export default ReactHTMLElement;
0 commit comments