| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/vinext/dist/utils/ |
Upload File : |
{"version":3,"file":"manifest-paths.js","names":[],"sources":["../../src/utils/manifest-paths.ts"],"sourcesContent":["export function normalizeManifestFile(file: string): string {\n return file.startsWith(\"/\") ? file.slice(1) : file;\n}\n\nexport function manifestFileWithBase(file: string, base: string): string {\n const normalizedFile = normalizeManifestFile(file);\n if (!base || base === \"/\") return normalizedFile;\n\n // Vite's SSR manifest stores base-prefixed paths without a leading slash,\n // e.g. \"docs/assets/app.js\" for base \"/docs/\".\n const normalizedBase = normalizeManifestFile(base).replace(/\\/+$/, \"\");\n if (!normalizedBase) return normalizedFile;\n if (normalizedFile.startsWith(normalizedBase + \"/\")) return normalizedFile;\n return normalizedBase + \"/\" + normalizedFile;\n}\n\nexport function manifestFilesWithBase(files: string[], base: string): string[] {\n return files.map((file) => manifestFileWithBase(file, base));\n}\n"],"mappings":";AAAA,SAAgB,sBAAsB,MAAsB;CAC1D,OAAO,KAAK,WAAW,IAAI,GAAG,KAAK,MAAM,EAAE,GAAG;;AAGhD,SAAgB,qBAAqB,MAAc,MAAsB;CACvE,MAAM,iBAAiB,sBAAsB,KAAK;CAClD,IAAI,CAAC,QAAQ,SAAS,KAAK,OAAO;CAIlC,MAAM,iBAAiB,sBAAsB,KAAK,CAAC,QAAQ,QAAQ,GAAG;CACtE,IAAI,CAAC,gBAAgB,OAAO;CAC5B,IAAI,eAAe,WAAW,iBAAiB,IAAI,EAAE,OAAO;CAC5D,OAAO,iBAAiB,MAAM;;AAGhC,SAAgB,sBAAsB,OAAiB,MAAwB;CAC7E,OAAO,MAAM,KAAK,SAAS,qBAAqB,MAAM,KAAK,CAAC"}