REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.39 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/rollup-plugin-esbuild-minify/lib/index.cjs
Text
Base64
'use strict'; var esbuild = require('esbuild'); function minify({ logLevel = 'warning', logLimit = 10, legalComments = 'none', minify = true } = {}) { const warn = logLevel !== 'silent' && logLevel !== 'error'; async function printWarnings(warnings) { const messages = await esbuild.formatMessages(warnings, { kind: 'warning', color: true }); let l = warnings.length; /* c8 ignore next 3 */ if (logLimit > 0 && logLimit < l) { l = logLimit; } for (let i = 0; i < l; ++i) { const { location = {} } = warnings[i]; const message = messages[i]; this.warn(message, { column: location.column, line: location.line }); } } return { name: 'esbuild-minify', async renderChunk(contents, _, { format, sourcemap }) { const { code, map, warnings } = await esbuild.transform(contents, { // If the format `cjs` is not provided, module-local variables // will not be minified. Other formats are not affected. format: format === 'cjs' ? 'cjs' : undefined, loader: 'js', minify, legalComments, sourcemap: sourcemap ? 'external' : false, logLevel, logLimit }); if (warn && warnings.length > 0) { await printWarnings.call(this, warnings); } return { code, map: map || null } } } } exports.minify = minify; //# sourceMappingURL=index.cjs.map
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.cjs
1.39 KB
lrw-r--r--
2026-02-28 00:26:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.cjs.map
2.81 KB
lrw-r--r--
2026-02-28 00:27:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
1.31 KB
lrw-r--r--
2026-02-28 00:26:54
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).