Skip to content

Commit acdf363

Browse files
committed
Revert "Fix: ensuring we only load the HTML 5 Adapter when we need it"
This reverts commit 871755f.
1 parent 43435a4 commit acdf363

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1+
import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter';
62
import ReactHTMLElement from './ReactHTMLElement';
73

84
export default ReactHTMLElement;

0 commit comments

Comments
 (0)