diff --git a/build.dev.js b/build.dev.js index 8588ec3..48ea4b1 100644 --- a/build.dev.js +++ b/build.dev.js @@ -129,7 +129,9 @@ const log = console.log ${js} -customElements.define('wc-${name.toLowerCase()}', ${name}) +if(!customElements.get('wc-${name.toLowerCase()}')){ + customElements.define('wc-${name.toLowerCase()}', ${name}) +} ` } diff --git a/src/form/select.wc b/src/form/select.wc index d224d8b..0b34ea9 100644 --- a/src/form/select.wc +++ b/src/form/select.wc @@ -13,10 +13,6 @@