Skip to content

Commit

Permalink
Remove node-sass from peerDependencies (#50065)
Browse files Browse the repository at this point in the history
This removes `node-sass` from being explicitly marked as a peer
dependency as it's not recommended anymore and `sass` is already marked
as a `peerDependency`, further when auto-install peer dependencies is
enabled it can cause this to be pulled in unexpectedly
  • Loading branch information
ijjk committed May 19, 2023
1 parent 3558208 commit d6a3e7d
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 311 deletions.
4 changes: 0 additions & 4 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,11 @@
"peerDependencies": {
"@opentelemetry/api": "^1.1.0",
"fibers": ">= 3.1.0",
"node-sass": "^6.0.0 || ^7.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.3.0"
},
"peerDependenciesMeta": {
"node-sass": {
"optional": true
},
"sass": {
"optional": true
},
Expand Down
4 changes: 2 additions & 2 deletions packages/next/src/compiled/babel-packages/packages-bundle.js

Large diffs are not rendered by default.

0 comments on commit d6a3e7d

Please sign in to comment.