BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/tailwindcss/src/cli/build
Run
Logout
Edit File
Size: 1.47 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/tailwindcss/src/cli/build/index.js
Text
Base64
// @ts-check import fs from 'fs' import path from 'path' import { resolveDefaultConfigPath } from '../../util/resolveConfigPath.js' import { createProcessor } from './plugin.js' export async function build(args) { let input = args['--input'] let shouldWatch = args['--watch'] // TODO: Deprecate this in future versions if (!input && args['_'][1]) { console.error('[deprecation] Running tailwindcss without -i, please provide an input file.') input = args['--input'] = args['_'][1] } if (input && input !== '-' && !fs.existsSync((input = path.resolve(input)))) { console.error(`Specified input file ${args['--input']} does not exist.`) process.exit(9) } if (args['--config'] && !fs.existsSync((args['--config'] = path.resolve(args['--config'])))) { console.error(`Specified config file ${args['--config']} does not exist.`) process.exit(9) } // TODO: Reference the @config path here if exists let configPath = args['--config'] ? args['--config'] : resolveDefaultConfigPath() let processor = await createProcessor(args, configPath) if (shouldWatch) { // Abort the watcher if stdin is closed to avoid zombie processes // You can disable this behavior with --watch=always if (args['--watch'] !== 'always') { process.stdin.on('end', () => process.exit(0)) } process.stdin.resume() await processor.watch() } else { await processor.build().catch((e) => { console.error(e) process.exit(1) }) } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
deps.js
999 B
lrw-r--r--
2025-03-28 11:04:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
1.47 KB
lrw-r--r--
2025-03-28 11:04:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plugin.js
12.32 KB
lrw-r--r--
2025-03-28 11:04:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utils.js
2.24 KB
lrw-r--r--
2025-03-28 11:04:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
watching.js
7.58 KB
lrw-r--r--
2025-03-28 11:04:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).