@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.
- package/.absolutejs/prettier.cache.json +2 -2
- package/dist/build.js +10 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +10 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -173543,8 +173543,15 @@ import { resolve as resolve20 } from "path";
|
|
|
173543
173543
|
var FRAMEWORK_DIR_KEYS, reloadConfig = async () => {
|
|
173544
173544
|
try {
|
|
173545
173545
|
const configPath2 = resolve20(process.env.ABSOLUTE_CONFIG ?? "absolute.config.ts");
|
|
173546
|
-
const
|
|
173547
|
-
|
|
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
|
}
|
|
@@ -174165,5 +174172,5 @@ export {
|
|
|
174165
174172
|
ANGULAR_INIT_TIMEOUT_MS
|
|
174166
174173
|
};
|
|
174167
174174
|
|
|
174168
|
-
//# debugId=
|
|
174175
|
+
//# debugId=25D616BDD6F0343864756E2164756E21
|
|
174169
174176
|
//# sourceMappingURL=index.js.map
|