STANDALONE_BINARY() — tailwindcss Function Reference
Architecture documentation for the STANDALONE_BINARY() function in standalone.test.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 2bc35720_f5c4_ce25_8595_c5df421ce86a["STANDALONE_BINARY()"] 1c0d5f39_ebb2_de2d_b02d_8cd9a794d5c2["standalone.test.ts"] 2bc35720_f5c4_ce25_8595_c5df421ce86a -->|defined in| 1c0d5f39_ebb2_de2d_b02d_8cd9a794d5c2 style 2bc35720_f5c4_ce25_8595_c5df421ce86a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integrations/cli/standalone.test.ts lines 5–16
const STANDALONE_BINARY = (() => {
switch (os.platform()) {
case 'win32':
return 'tailwindcss-windows-x64.exe'
case 'darwin':
return os.arch() === 'x64' ? 'tailwindcss-macos-x64' : 'tailwindcss-macos-arm64'
case 'linux':
return os.arch() === 'x64' ? 'tailwindcss-linux-x64' : 'tailwindcss-linux-arm64'
default:
throw new Error(`Unsupported platform: ${os.platform()} ${os.arch()}`)
}
})()
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does STANDALONE_BINARY() do?
STANDALONE_BINARY() is a function in the tailwindcss codebase, defined in integrations/cli/standalone.test.ts.
Where is STANDALONE_BINARY() defined?
STANDALONE_BINARY() is defined in integrations/cli/standalone.test.ts at line 5.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free