Skip to content
Prev Previous commit
Next Next commit
Don’t support NODE_PATH env in standalone build
  • Loading branch information
thecrypticace committed Nov 30, 2025
commit af46dd31c294d6d52053a2f77e0c30d72c1a0863
3 changes: 3 additions & 0 deletions packages/@tailwindcss-standalone/scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ for (let { target, name } of builds) {

// This simplifies the Oxide loading code a small amount
'process.env.NAPI_RS_NATIVE_LIBRARY_PATH': JSON.stringify(''),

// No need to support additional NODE_PATHs in the standalone build
'process.env.NODE_PATH': JSON.stringify(''),
},

compile: {
Expand Down