styles-update

This commit is contained in:
Rogelio
2025-10-23 05:59:44 +00:00
parent b60b35cad4
commit 127413b971
1685 changed files with 272410 additions and 5731 deletions

22
node_modules/sucrase/dist/esm/util/getJSXPragmaInfo.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
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)];
}