Merge pull request #1487 from ing-bank/fix/buttonSideEffects
fix(button): register element registration side effects
This commit is contained in:
commit
b9d1df2ace
2 changed files with 9 additions and 1 deletions
5
.changeset/thirty-dryers-listen.md
Normal file
5
.changeset/thirty-dryers-listen.md
Normal 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
|
||||||
|
|
@ -33,7 +33,10 @@
|
||||||
"test": "cd ../../ && npm run test:browser -- --group button"
|
"test": "cd ../../ && npm run test:browser -- --group button"
|
||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"lion-button.js"
|
"lion-button.js",
|
||||||
|
"lion-button-reset.js",
|
||||||
|
"lion-button-submit.js",
|
||||||
|
"define.js"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lion/core": "0.18.2"
|
"@lion/core": "0.18.2"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue