Skip to content

Commit

Permalink
workaround for source-map crash on newer node.js
Browse files Browse the repository at this point in the history
while the previous commit reminds devs to `nvm use` the
officially-supported version of node.js this dependency workaround helps
resolve an unneccessary gatsby crash on newer versions in the future

see
gatsbyjs/gatsby#35607 (comment)
for background
  • Loading branch information
natevw committed Mar 9, 2023
1 parent 879ad3c commit 53f068a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@
"prettier": "2.2.1",
"tiny-glob": "^0.2.8"
},
"resolutions": {
"source-map": "^0.8.0-beta.0"
},
"license": "MIT",
"scripts": {
"build": "gatsby build",
Expand Down

0 comments on commit 53f068a

Please sign in to comment.