Skip to content

Commit

Permalink
Scoped elements no side effects (#2770)
Browse files Browse the repository at this point in the history
* Move side-effects into mixin

* Mark `@open-wc/scoped-elements` as side effect free

* Add changeset

* Run prettier

* Revert changes to `html-element.js`
  • Loading branch information
koddsson committed Jan 24, 2024
1 parent bb66a2a commit 479a956
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-clocks-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@open-wc/scoped-elements': patch
---

Marked `@open-wc/scoped-elements` as side-effect free
3 changes: 2 additions & 1 deletion docs/_data/componentLibraries.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ const componentLibraries = [
{
name: 'Porsche Design System',
url: 'https://designsystem.porsche.com/',
description: "The Porsche Design System provides the design fundamentals and elements for efficiently creating aesthetic and high-quality web applications, including easy-to-use Figma and UX Pin libraries, coded Web Components and comprehensive usage guidelines. Everything is built and tested following the Porsche quality standards and corporate design principles.",
description:
'The Porsche Design System provides the design fundamentals and elements for efficiently creating aesthetic and high-quality web applications, including easy-to-use Figma and UX Pin libraries, coded Web Components and comprehensive usage guidelines. Everything is built and tested following the Porsche quality standards and corporate design principles.',
},
{
name: 'Siemenx IX',
Expand Down
3 changes: 2 additions & 1 deletion packages/scoped-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@
"devDependencies": {
"@open-wc/testing": "^3.2.2",
"@webcomponents/scoped-custom-element-registry": "^0.0.9"
}
},
"sideEffects": false
}

0 comments on commit 479a956

Please sign in to comment.