@absolutejs/absolute 0.19.0-beta.54 → 0.19.0-beta.55
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/.absolutejs/tsconfig.tsbuildinfo +1 -1
- package/.claude/settings.local.json +3 -1
- package/dist/build.js +5 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +5 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -202353,11 +202353,12 @@ __export(exports_moduleServer, {
|
|
|
202353
202353
|
});
|
|
202354
202354
|
import { existsSync as existsSync13, readFileSync as readFileSync9, statSync } from "fs";
|
|
202355
202355
|
import { basename as basename7, dirname as dirname7, extname as extname3, resolve as resolve18, relative as relative7 } from "path";
|
|
202356
|
-
var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
|
|
202356
|
+
var SRC_PREFIX = "/@src/", jsTranspiler2, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, STRING_CONTENTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
|
|
202357
|
+
const codeOnly = originalSource.replace(STRING_CONTENTS_RE, '""');
|
|
202357
202358
|
const allExports = [];
|
|
202358
202359
|
let match;
|
|
202359
202360
|
ALL_EXPORTS_RE.lastIndex = 0;
|
|
202360
|
-
while ((match = ALL_EXPORTS_RE.exec(
|
|
202361
|
+
while ((match = ALL_EXPORTS_RE.exec(codeOnly)) !== null) {
|
|
202361
202362
|
if (match[1])
|
|
202362
202363
|
allExports.push(match[1]);
|
|
202363
202364
|
}
|
|
@@ -202891,6 +202892,7 @@ var init_moduleServer = __esm(() => {
|
|
|
202891
202892
|
});
|
|
202892
202893
|
TRANSPILABLE = new Set([".ts", ".tsx", ".js", ".jsx", ".mjs"]);
|
|
202893
202894
|
ALL_EXPORTS_RE = /export\s+(?:type|interface|const|let|var|function|class|enum|abstract\s+class)\s+(\w+)/g;
|
|
202895
|
+
STRING_CONTENTS_RE = /`(?:[^`\\]|\\.)*`|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/gs;
|
|
202894
202896
|
REACT_EXTENSIONS = new Set([".tsx", ".jsx"]);
|
|
202895
202897
|
mtimeCache = new Map;
|
|
202896
202898
|
HOOK_NAMES = new Set([
|
|
@@ -205213,5 +205215,5 @@ export {
|
|
|
205213
205215
|
ANGULAR_INIT_TIMEOUT_MS
|
|
205214
205216
|
};
|
|
205215
205217
|
|
|
205216
|
-
//# debugId=
|
|
205218
|
+
//# debugId=FE8A25A0C4FF63AA64756E2164756E21
|
|
205217
205219
|
//# sourceMappingURL=index.js.map
|