Skip to content

Commit

Permalink
fix windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
marklawlor committed Nov 23, 2023
1 parent 3d4958d commit 6bb5648
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-ducks-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nativewind": patch
---

fix windows builds
4 changes: 2 additions & 2 deletions packages/nativewind/src/metro/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ export function withNativeWind(
projectRoot = process.cwd(),
inlineRem = 14,
configPath: tailwindConfigPath = "tailwind.config.js",
cliCommand = path.join(
cliCommand = `node ${path.join(
require.resolve("tailwindcss/package.json"),
"../",
tailwindPackage.bin.tailwindcss,
),
)}`,
hotServerOptions = {},
experiments,
}: WithNativeWindOptions = {},
Expand Down

1 comment on commit 6bb5648

@vercel
Copy link

@vercel vercel bot commented on 6bb5648 Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.