Skip to content

Commit

Permalink
fix(peerDependencies): make sass optional for styles - Solves @carbon…
Browse files Browse the repository at this point in the history
…/charts example issue (#14131)

* fix(peerDependencies): make sass optional

* fix whitespace

* update yarn

---------

Co-authored-by: Taylor Jones <[email protected]>
  • Loading branch information
nstuyvesant and tay1orjones authored Jul 5, 2023
1 parent 5f64e9e commit 7330045
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"peerDependencies": {
"sass": "^1.33.0"
},
"peerDependenciesMeta": {
"sass": {
"optional": true
}
},
"dependencies": {
"@carbon/colors": "^11.16.0",
"@carbon/feature-flags": "^0.15.0",
Expand Down
3 changes: 3 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2502,6 +2502,9 @@ __metadata:
sass: ^1.51.0
peerDependencies:
sass: ^1.33.0
peerDependenciesMeta:
sass:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 7330045

Please sign in to comment.