Buckets:
| export default function getJSXPragmaInfo(options) { | |
| const [base, suffix] = splitPragma(options.jsxPragma || "React.createElement"); | |
| const [fragmentBase, fragmentSuffix] = splitPragma(options.jsxFragmentPragma || "React.Fragment"); | |
| return {base, suffix, fragmentBase, fragmentSuffix}; | |
| } | |
| function splitPragma(pragma) { | |
| let dotIndex = pragma.indexOf("."); | |
| if (dotIndex === -1) { | |
| dotIndex = pragma.length; | |
| } | |
| return [pragma.slice(0, dotIndex), pragma.slice(dotIndex)]; | |
| } | |
Xet Storage Details
- Size:
- 494 Bytes
- Xet hash:
- e2bfe1039ab9c6126899503acd788e62404759e0485e5d9f9f6d56267c9a7551
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.