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 3af38f48_6f69_609f_890e_b426efba183a["STANDALONE_BINARY()"] 40d96c70_91aa_658f_3d90_0ab07b26604c["standalone.test.ts"] 3af38f48_6f69_609f_890e_b426efba183a -->|defined in| 40d96c70_91aa_658f_3d90_0ab07b26604c style 3af38f48_6f69_609f_890e_b426efba183a 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