@absolutejs/absolute 0.19.0-beta.300 → 0.19.0-beta.301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.js +10 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +10 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -205344,7 +205344,7 @@ ${stubs}
|
|
|
205344
205344
|
}, resolveRelativeExtension = (srcPath, projectRoot, extensions) => {
|
|
205345
205345
|
const found = extensions.find((ext) => existsSync19(resolve26(projectRoot, srcPath + ext)));
|
|
205346
205346
|
return found ? srcPath + found : srcPath;
|
|
205347
|
-
}, IMPORT_EXTENSIONS, SIDE_EFFECT_EXTENSIONS, MODULE_EXTENSIONS, REACT_EXTENSIONS, escapeRegex3 = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), buildImportRewriter = (vendorPaths) => {
|
|
205347
|
+
}, IMPORT_EXTENSIONS, SIDE_EFFECT_EXTENSIONS, MODULE_EXTENSIONS, RESOLVED_MODULE_EXTENSIONS, REACT_EXTENSIONS, escapeRegex3 = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), buildImportRewriter = (vendorPaths) => {
|
|
205348
205348
|
const entries = Object.entries(vendorPaths).sort(([a], [b]) => b.length - a.length);
|
|
205349
205349
|
if (entries.length === 0)
|
|
205350
205350
|
return null;
|
|
@@ -205371,7 +205371,8 @@ ${stubs}
|
|
|
205371
205371
|
}, resolveRelativeImport = (relPath, fileDir, projectRoot, extensions) => {
|
|
205372
205372
|
const absPath = resolve26(fileDir, relPath);
|
|
205373
205373
|
const rel = relative11(projectRoot, absPath);
|
|
205374
|
-
|
|
205374
|
+
const extension = extname5(rel);
|
|
205375
|
+
let srcPath = RESOLVED_MODULE_EXTENSIONS.has(extension) ? rel : resolveRelativeExtension(rel, projectRoot, extensions);
|
|
205375
205376
|
if (extname5(srcPath) === ".svelte") {
|
|
205376
205377
|
srcPath = relative11(projectRoot, resolveSvelteModulePath(resolve26(projectRoot, srcPath)));
|
|
205377
205378
|
}
|
|
@@ -205985,6 +205986,12 @@ var init_moduleServer = __esm(() => {
|
|
|
205985
205986
|
".vue"
|
|
205986
205987
|
];
|
|
205987
205988
|
MODULE_EXTENSIONS = [".tsx", ".ts", ".jsx", ".js", ".svelte", ".vue"];
|
|
205989
|
+
RESOLVED_MODULE_EXTENSIONS = new Set([
|
|
205990
|
+
...IMPORT_EXTENSIONS,
|
|
205991
|
+
...SIDE_EFFECT_EXTENSIONS,
|
|
205992
|
+
".mjs",
|
|
205993
|
+
".css"
|
|
205994
|
+
]);
|
|
205988
205995
|
REACT_EXTENSIONS = new Set([".tsx", ".jsx"]);
|
|
205989
205996
|
mtimeCache = new Map;
|
|
205990
205997
|
JSX_AUTO_RE = /\b(jsxDEV_[a-z0-9]+)\b/;
|
|
@@ -208020,5 +208027,5 @@ export {
|
|
|
208020
208027
|
build
|
|
208021
208028
|
};
|
|
208022
208029
|
|
|
208023
|
-
//# debugId=
|
|
208030
|
+
//# debugId=D1733B0AAFD6425164756E2164756E21
|
|
208024
208031
|
//# sourceMappingURL=build.js.map
|