@absolutejs/absolute 0.17.5 → 0.17.6
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 +5 -4
- package/dist/build.js +6 -2
- package/dist/build.js.map +3 -3
- package/dist/cli/index.js +6 -1
- package/dist/index.js +15 -3
- package/dist/index.js.map +7 -6
- package/dist/src/utils/defineConfig.d.ts +2 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"src/utils/generateHeadElement.ts": "38el5dbi4kce4",
|
|
72
72
|
"src/utils/validateSafePath.ts": "1eno5se4lx5hk",
|
|
73
73
|
"src/utils/registerClientScript.ts": "1cascgm0h2bwr",
|
|
74
|
-
"src/utils/loadConfig.ts": "
|
|
75
|
-
"src/utils/index.ts": "
|
|
74
|
+
"src/utils/loadConfig.ts": "domaglhaycic",
|
|
75
|
+
"src/utils/index.ts": "15xvt67bfhkc5",
|
|
76
76
|
"src/utils/getEnv.ts": "2mguam3n44ahe",
|
|
77
77
|
"src/utils/cleanup.ts": "2cdsyoou95x2b",
|
|
78
78
|
"src/utils/commonAncestor.ts": "3tkx2e2fkox3r",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"src/utils/getRegisterClientScript.ts": "wb1ch8blmcf6",
|
|
82
82
|
"src/utils/userAgentFunctions.ts": "zx7qaw4ouz25",
|
|
83
83
|
"src/utils/cleanStaleOutputs.ts": "2aolh3rs4ad7w",
|
|
84
|
+
"src/utils/defineConfig.ts": "2o8drh6j5fn3b",
|
|
84
85
|
"src/utils/getDurationString.ts": "32fkjm3gqy6b7",
|
|
85
86
|
"src/vue/pageHandler.ts": "33ewcs9ixmqmo",
|
|
86
87
|
"src/vue/index.ts": "2hz43zpct7mgi",
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
"types/build.ts": "1z1w68vvj3xrg",
|
|
113
114
|
"types/svelte.ts": "2y2l15nmf0gna",
|
|
114
115
|
"example/server.ts": "1n2pdihnh7tk4",
|
|
115
|
-
"example/absolute.config.ts": "
|
|
116
|
+
"example/absolute.config.ts": "32rtvv6ddh7ax",
|
|
116
117
|
"example/vueImporter.ts": "3pz876k5csl5o",
|
|
117
118
|
"example/html/scripts/typescript-example.ts": "3l669dqka1f7e",
|
|
118
119
|
"example/angular/pages/angular-example.ts": "27xndznzc59mf",
|
|
@@ -133,7 +134,7 @@
|
|
|
133
134
|
"example/angular/compiled/mm4fgvqc/components/counter.component.js": "qbqz8o1mgcpu",
|
|
134
135
|
"eslint.config.mjs": "3jvlmsyhtijzc",
|
|
135
136
|
"tsconfig.json": "yyin9qm3vp6z",
|
|
136
|
-
"package.json": "
|
|
137
|
+
"package.json": "1ulg456ngivna",
|
|
137
138
|
"tsconfig.build.json": "976e92rva922",
|
|
138
139
|
"example/svelte/pages/SvelteExample.svelte": "1um210xkshf8o",
|
|
139
140
|
"example/svelte/components/Counter.svelte": "1p92uo1pko0wo",
|
package/dist/build.js
CHANGED
|
@@ -69394,17 +69394,21 @@ var require_lib27 = __commonJS((exports) => {
|
|
|
69394
69394
|
import { existsSync as existsSync4, mkdirSync as mkdirSync2, readFileSync as readFileSync3, writeFileSync as writeFileSync2 } from "fs";
|
|
69395
69395
|
import { dirname, join as join3, relative, resolve as resolve4 } from "path";
|
|
69396
69396
|
import { createHash } from "crypto";
|
|
69397
|
-
import { needsLinking } from "@angular/compiler-cli/linker";
|
|
69398
69397
|
var CACHE_DIR, angularLinkerPlugin;
|
|
69399
69398
|
var init_angularLinkerPlugin = __esm(() => {
|
|
69400
69399
|
CACHE_DIR = resolve4(".cache", "angular-linker");
|
|
69401
69400
|
angularLinkerPlugin = {
|
|
69402
69401
|
name: "angular-linker",
|
|
69403
69402
|
setup(bld) {
|
|
69403
|
+
let needsLinking;
|
|
69404
69404
|
let babelTransform;
|
|
69405
69405
|
let linkerPlugin;
|
|
69406
69406
|
bld.onLoad({ filter: /[\\/]@angular[\\/].*\.m?js$/ }, async (args) => {
|
|
69407
69407
|
const source = await Bun.file(args.path).text();
|
|
69408
|
+
if (!needsLinking) {
|
|
69409
|
+
const mod = await import("@angular/compiler-cli/linker");
|
|
69410
|
+
needsLinking = mod.needsLinking;
|
|
69411
|
+
}
|
|
69408
69412
|
if (!needsLinking(args.path, source)) {
|
|
69409
69413
|
return;
|
|
69410
69414
|
}
|
|
@@ -271195,5 +271199,5 @@ export {
|
|
|
271195
271199
|
build
|
|
271196
271200
|
};
|
|
271197
271201
|
|
|
271198
|
-
//# debugId=
|
|
271202
|
+
//# debugId=0710BC7FF093931664756E2164756E21
|
|
271199
271203
|
//# sourceMappingURL=build.js.map
|