@absolutejs/absolute 0.18.2-beta.0 → 0.18.2-beta.1

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.
@@ -86,7 +86,7 @@
86
86
  "src/vue/pageHandler.ts": "3j5xvetjyii9p",
87
87
  "src/vue/index.ts": "2hz43zpct7mgi",
88
88
  "src/core/devVendorPaths.ts": "1n8mzzxtyk99u",
89
- "src/core/devBuild.ts": "tj9jlukl7fwq",
89
+ "src/core/devBuild.ts": "rjfe1xyvykuh",
90
90
  "src/core/prepare.ts": "2qtxdqcmxdc70",
91
91
  "src/core/lookup.ts": "26sxtbdzs5myx",
92
92
  "src/core/index.ts": "2e2493pkqrfdy",
@@ -177,7 +177,7 @@
177
177
  "example/angular/compiled/components/counter.component.js": "2oew7n0s1wzck",
178
178
  "eslint.config.mjs": "kk4n5twg4v4r",
179
179
  "tsconfig.json": "3pf54bnsv1pxc",
180
- "package.json": "wf0ev80hdvsh",
180
+ "package.json": "2ty2o8kj3jvzy",
181
181
  "tsconfig.build.json": "976e92rva922",
182
182
  "example/svelte/pages/SvelteExample.svelte": "18y2nvi52u8ps",
183
183
  "example/svelte/components/Counter.svelte": "1p92uo1pko0wo",
package/dist/build.js CHANGED
@@ -173543,8 +173543,15 @@ import { resolve as resolve19 } from "path";
173543
173543
  var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
173544
173544
  try {
173545
173545
  const configPath2 = resolve19(process.env.ABSOLUTE_CONFIG ?? "absolute.config.ts");
173546
- const mod = await import(`${configPath2}?t=${Date.now()}`);
173547
- return mod.default ?? mod.config ?? null;
173546
+ const source = await Bun.file(configPath2).text();
173547
+ const config = {};
173548
+ const dirPattern = /(\w+Directory)\s*:\s*['"]([^'"]+)['"]/g;
173549
+ let match;
173550
+ while ((match = dirPattern.exec(source)) !== null) {
173551
+ const [, key, value] = match;
173552
+ config[key] = value;
173553
+ }
173554
+ return Object.keys(config).length > 0 ? config : null;
173548
173555
  } catch {
173549
173556
  return null;
173550
173557
  }
@@ -173742,5 +173749,5 @@ export {
173742
173749
  build
173743
173750
  };
173744
173751
 
173745
- //# debugId=91A7DF87D8F15FFE64756E2164756E21
173752
+ //# debugId=D321841A9FF4E6FD64756E2164756E21
173746
173753
  //# sourceMappingURL=build.js.map