@its/core 2.2.8 → 2.2.9

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/core.es.js CHANGED
@@ -43717,9 +43717,9 @@ const oPe = (e, t, n) => {
43717
43717
  const r = [];
43718
43718
  for (const i in e)
43719
43719
  if (Object.prototype.hasOwnProperty.call(e, i)) {
43720
- const a = e[i], o = i.match(/pages\/(?!core)(.*)\/index\.ts?$/);
43720
+ const a = e[i], o = i.match(/pages\/(?!core)(.*)\/index\.tsx?$/);
43721
43721
  if (!o) continue;
43722
- const s = o[1], u = Object.keys(t).find((b) => b.includes(`${s}/loader.ts`)), c = Object.keys(n).find((b) => b.includes(`${s}/action.ts`)), l = s.match(/\[(.+)\]/) ? s.replace(/\[(.+)\]/, "$1/:data") : s.replace(/\/index/, ""), h = s === "index" ? "/" : `${l.toLowerCase()}`, d = qO(a), g = qO(async () => ({ default: (await a()).icon || bU })), m = u ? t[u].default : void 0, y = c ? n[c].default : void 0, v = {
43722
+ const s = o[1], u = Object.keys(t).find((b) => b.includes(`${s}/loader.tsx`)), c = Object.keys(n).find((b) => b.includes(`${s}/action.tsx`)), l = s.match(/\[(.+)\]/) ? s.replace(/\[(.+)\]/, "$1/:data") : s.replace(/\/index/, ""), h = s === "index" ? "/" : `${l.toLowerCase()}`, d = qO(a), g = qO(async () => ({ default: (await a()).icon || bU })), m = u ? t[u].default : void 0, y = c ? n[c].default : void 0, v = {
43723
43723
  id: h,
43724
43724
  Icon: g,
43725
43725
  name: l,