Skip to content

Commit 7a731e6

Browse files
committed
fix pnpm lightningcss override
1 parent 5c706dd commit 7a731e6

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.changeset/fifty-emus-share.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'create-expo-stack': patch
3+
'rn-new': patch
4+
---
5+
6+
fix pnpm lightningcss override

cli/src/templates/base/package.json.ejs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@
161161
"resolutions": {
162162
"lightningcss": "1.30.1"
163163
},
164+
<% } else if (props.stylingPackage?.name === "nativewind" && props.packageManager === "pnpm") { %>
165+
"pnpm": {
166+
"overrides": {
167+
"lightningcss": "1.30.1"
168+
}
169+
},
164170
<% } else if (props.stylingPackage?.name === "nativewind") { %>
165171
"overrides": {
166172
"lightningcss": "1.30.1"

0 commit comments

Comments
 (0)