inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "PrefetchRSCPathnameNormalizer", {
enumerable: true,
get: function() {
return PrefetchRSCPathnameNormalizer;
}
});
const _constants = require("../../../lib/constants");
const _suffix = require("./suffix");
class PrefetchRSCPathnameNormalizer extends _suffix.SuffixPathnameNormalizer {
constructor(){
super(_constants.RSC_PREFETCH_SUFFIX);
}
match(pathname) {
if (pathname === '/__index' + _constants.RSC_PREFETCH_SUFFIX) {
return true;
}
return super.match(pathname);
}
normalize(pathname, matched) {
if (pathname === '/__index' + _constants.RSC_PREFETCH_SUFFIX) {
return '/';
}
return super.normalize(pathname, matched);
}
}
//# sourceMappingURL=prefetch-rsc.js.map