@timber-js/app 0.1.26 → 0.1.27
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/index.js
CHANGED
|
@@ -14159,8 +14159,15 @@ function timberServerBundle() {
|
|
|
14159
14159
|
renderChunk(code) {
|
|
14160
14160
|
const lazy = "var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);";
|
|
14161
14161
|
if (!code.includes(lazy)) return null;
|
|
14162
|
+
const eager = [
|
|
14163
|
+
"var __esmMin = (fn, res) => {",
|
|
14164
|
+
" var l = () => { if (fn) { var f = fn; try { res = f(); fn = 0; } catch(e) {} } return res; };",
|
|
14165
|
+
" l();",
|
|
14166
|
+
" return l;",
|
|
14167
|
+
"};"
|
|
14168
|
+
].join(" ");
|
|
14162
14169
|
return {
|
|
14163
|
-
code: code.replace(lazy,
|
|
14170
|
+
code: code.replace(lazy, eager),
|
|
14164
14171
|
map: null
|
|
14165
14172
|
};
|
|
14166
14173
|
}
|