@absolutejs/absolute 0.19.0-beta.389 → 0.19.0-beta.390
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 +3 -6
- package/dist/build.js.map +3 -3
- package/dist/index.js +3 -6
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -171816,10 +171816,6 @@ var resolveDevClientDir2 = () => {
|
|
|
171816
171816
|
persistentCache.clear();
|
|
171817
171817
|
sourceHashCache.clear();
|
|
171818
171818
|
}, transpiler2, removeUnusedRequireHelper = (code) => {
|
|
171819
|
-
const requireMatches = code.match(/\b__require\b/g);
|
|
171820
|
-
if (requireMatches && requireMatches.length > 1) {
|
|
171821
|
-
return code;
|
|
171822
|
-
}
|
|
171823
171819
|
const helperStart = code.indexOf("var __require = /* @__PURE__ */");
|
|
171824
171820
|
if (helperStart === -1) {
|
|
171825
171821
|
return code;
|
|
@@ -171833,7 +171829,8 @@ var resolveDevClientDir2 = () => {
|
|
|
171833
171829
|
if (statementEnd === -1) {
|
|
171834
171830
|
return code;
|
|
171835
171831
|
}
|
|
171836
|
-
|
|
171832
|
+
const stripped = `${code.slice(0, helperStart)}${code.slice(statementEnd + 3)}`;
|
|
171833
|
+
return /\b__require\b/.test(stripped) ? code : stripped;
|
|
171837
171834
|
}, exists = async (path) => {
|
|
171838
171835
|
try {
|
|
171839
171836
|
await stat(path);
|
|
@@ -179218,5 +179215,5 @@ export {
|
|
|
179218
179215
|
build
|
|
179219
179216
|
};
|
|
179220
179217
|
|
|
179221
|
-
//# debugId=
|
|
179218
|
+
//# debugId=665D6CC4B969449564756E2164756E21
|
|
179222
179219
|
//# sourceMappingURL=build.js.map
|