fix(button): register element registration side effects

This commit is contained in:
Thomas Allmer 2021-08-20 10:47:46 +02:00
parent c1397d86e7
commit 811b329472
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@lion/button': patch
---
Add files that result in customElements.define to sideEffect so build tools don't tree shake them

View file

@ -33,7 +33,10 @@
"test": "cd ../../ && npm run test:browser -- --group button"
},
"sideEffects": [
"lion-button.js"
"lion-button.js",
"lion-button-reset.js",
"lion-button-submit.js",
"define.js"
],
"dependencies": {
"@lion/core": "0.18.2"