@absolutejs/absolute 0.19.0-beta.387 → 0.19.0-beta.388
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/angular/index.js +2 -2
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/server.js +2 -2
- package/dist/angular/server.js.map +1 -1
- package/dist/build.js +12 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +37 -12
- package/dist/index.js.map +7 -6
- package/dist/src/plugins/devtoolsJson.d.ts +8 -1
- package/dist/src/plugins/index.d.ts +1 -0
- package/dist/types/build.d.ts +6 -0
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -171815,7 +171815,13 @@ var resolveDevClientDir2 = () => {
|
|
|
171815
171815
|
}, devClientDir2, hmrClientPath3, persistentCache, sourceHashCache, clearSvelteCompilerCache = () => {
|
|
171816
171816
|
persistentCache.clear();
|
|
171817
171817
|
sourceHashCache.clear();
|
|
171818
|
-
}, transpiler2,
|
|
171818
|
+
}, transpiler2, removeUnusedRequireHelper = (code) => {
|
|
171819
|
+
const requireMatches = code.match(/\b__require\b/g);
|
|
171820
|
+
if (requireMatches && requireMatches.length > 1) {
|
|
171821
|
+
return code;
|
|
171822
|
+
}
|
|
171823
|
+
return code.replace(/var __require = \/\* @__PURE__ \*\/ \(\(x\) => typeof require !== "undefined" \? require : typeof Proxy !== "undefined" \? new Proxy\(x, \{\s*get: \(a, b\) => \(typeof require !== "undefined" \? require : a\)\[b\]\s*\}\) : x\)\(function\(x\) \{\s*if \(typeof require !== "undefined"\)\s*return require\.apply\(this, arguments\);\s*throw Error\('Dynamic require of "' \+ x \+ '" is not supported'\);\s*\}\);\s*/m, "");
|
|
171824
|
+
}, exists = async (path) => {
|
|
171819
171825
|
try {
|
|
171820
171826
|
await stat(path);
|
|
171821
171827
|
return true;
|
|
@@ -171981,6 +171987,9 @@ var resolveDevClientDir2 = () => {
|
|
|
171981
171987
|
var __hmr_accept = function(cb) { window.__SVELTE_HMR_ACCEPT__[${JSON.stringify(moduleKey)}] = cb; };`);
|
|
171982
171988
|
code = code.replace(/import\.meta\.hot\.accept\(/g, "__hmr_accept(");
|
|
171983
171989
|
}
|
|
171990
|
+
if (mode === "client") {
|
|
171991
|
+
code = removeUnusedRequireHelper(code);
|
|
171992
|
+
}
|
|
171984
171993
|
code += islandMetadataExports;
|
|
171985
171994
|
return code;
|
|
171986
171995
|
};
|
|
@@ -172650,7 +172659,7 @@ ${registrations}
|
|
|
172650
172659
|
({ tsLibDir } = cached);
|
|
172651
172660
|
cached.lastUsed = Date.now();
|
|
172652
172661
|
} else {
|
|
172653
|
-
const tsPath = __require.resolve("
|
|
172662
|
+
const tsPath = __require.resolve("typescript");
|
|
172654
172663
|
const tsRootDir = dirname8(tsPath);
|
|
172655
172664
|
tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
|
|
172656
172665
|
const config = readConfiguration("./tsconfig.json");
|
|
@@ -179196,5 +179205,5 @@ export {
|
|
|
179196
179205
|
build
|
|
179197
179206
|
};
|
|
179198
179207
|
|
|
179199
|
-
//# debugId=
|
|
179208
|
+
//# debugId=9962EE1FE3DD930864756E2164756E21
|
|
179200
179209
|
//# sourceMappingURL=build.js.map
|