REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 671 B
Close
/home/byroehnu/.trash/node_modules11/babel-plugin-styled-components/lib/visitors/templateLiterals/transpile.js
Text
Base64
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _detectors = require("../../utils/detectors"); var _default = t => (path, state) => { if ((0, _detectors.isStyled)(t)(path.node.tag, state) || (0, _detectors.isHelper)(t)(path.node.tag, state)) { const { tag: callee, quasi: { quasis, expressions } } = path.node; const values = t.arrayExpression(quasis.filter(quasi => quasi.value.cooked !== undefined).map(quasi => t.stringLiteral(quasi.value.cooked))); path.replaceWith(t.callExpression(callee, [values, ...expressions])); } }; exports.default = _default;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.js
491 B
lrw-r--r--
2026-02-28 00:28:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
transpile.js
671 B
lrw-r--r--
2026-02-28 00:28:24
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).