Skip to content

Commit

Permalink
enumerate files which have side effects (#28748)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdholt authored and radium-v committed May 6, 2024
1 parent 675c64f commit 071ec5a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "fix(web-components): enumerate side-effects for package export paths",
"packageName": "@fluentui/web-components",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch"
}
30 changes: 29 additions & 1 deletion packages/web-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@fluentui/web-components",
"description": "A library of Fluent Web Components",
"sideEffects": false,
"version": "3.0.0-alpha.27",
"author": {
"name": "Microsoft",
Expand Down Expand Up @@ -133,6 +132,35 @@
"default": "./dist/esm/toggle-button/define.js"
}
},
"sideEffects": [
"./dist/esm/accordion/define.js",
"./dist/esm/accordion-item/define.js",
"./dist/esm/anchor-button/define.js",
"./dist/esm/avatar/define.js",
"./dist/esm/badge/define.js",
"./dist/esm/button/define.js",
"./dist/esm/checkbox/define.js",
"./dist/esm/compound-button/define.js",
"./dist/esm/counter-badge/define.js",
"./dist/esm/divider/define.js",
"./dist/esm/image/define.js",
"./dist/esm/label/define.js",
"./dist/esm/menu-list/define.js",
"./dist/esm/menu-button/define.js",
"./dist/esm/menu-item/define.js",
"./dist/esm/progress-bar/define.js",
"./dist/esm/radio/define.js",
"./dist/esm/radio-group/define.js",
"./dist/esm/slider/define.js",
"./dist/esm/spinner/define.js",
"./dist/esm/switch/define.js",
"./dist/esm/tab/define.js",
"./dist/esm/tabs/define.js",
"./dist/esm/tab-panel/define.js",
"./dist/esm/text/define.js",
"./dist/esm/text-input/define.js",
"./dist/esm/toggle-button/define.js"
],
"scripts": {
"tsc": "tsc",
"api-extractor": "api-extractor",
Expand Down

0 comments on commit 071ec5a

Please sign in to comment.