@absolutejs/absolute 0.19.0-beta.1061 → 0.19.0-beta.1062
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-qxzGGJ/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-qxzGGJ/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-qxzGGJ/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/cli/index.js
CHANGED
|
@@ -177481,7 +177481,7 @@ console.log(\`
|
|
|
177481
177481
|
path: jsxDevRuntimeCompatPath2
|
|
177482
177482
|
}));
|
|
177483
177483
|
bld.onLoad({ filter: /node_modules\/debug/ }, () => ({
|
|
177484
|
-
contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false;",
|
|
177484
|
+
contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false; module.exports.default = module.exports;",
|
|
177485
177485
|
loader: "js"
|
|
177486
177486
|
}));
|
|
177487
177487
|
bld.onLoad({ filter: /\.ts$/ }, async (args) => {
|
|
@@ -177573,7 +177573,8 @@ console.log(\`
|
|
|
177573
177573
|
stubSvelte: !buildConfig.svelteDirectory,
|
|
177574
177574
|
stubVue: !buildConfig.vueDirectory
|
|
177575
177575
|
}),
|
|
177576
|
-
createExternalAssetPlugin(resolvedOutdir, userSourceRoots)
|
|
177576
|
+
createExternalAssetPlugin(resolvedOutdir, userSourceRoots),
|
|
177577
|
+
...buildConfig.compile?.plugins ?? []
|
|
177577
177578
|
],
|
|
177578
177579
|
target: "bun",
|
|
177579
177580
|
throw: false
|
|
@@ -180063,7 +180064,7 @@ var start = async (serverEntry, outdir, configPath2) => {
|
|
|
180063
180064
|
path: jsxDevRuntimeCompatPath
|
|
180064
180065
|
}));
|
|
180065
180066
|
bld.onLoad({ filter: /node_modules\/debug/ }, () => ({
|
|
180066
|
-
contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false;",
|
|
180067
|
+
contents: "module.exports = () => { const noop = () => {}; noop.enabled = false; return noop; }; module.exports.enable = () => {}; module.exports.disable = () => {}; module.exports.enabled = () => false; module.exports.default = module.exports;",
|
|
180067
180068
|
loader: "js"
|
|
180068
180069
|
}));
|
|
180069
180070
|
bld.onLoad({ filter: /\.ts$/ }, async (args) => {
|
package/dist/types/build.d.ts
CHANGED
|
@@ -111,6 +111,17 @@ export type CompileConfig = {
|
|
|
111
111
|
* and start never evaluate `.node` files as ESM imports.
|
|
112
112
|
*/
|
|
113
113
|
nativeAssets?: CompileNativeAssetConfig[];
|
|
114
|
+
/**
|
|
115
|
+
* Bun bundler plugins applied to the standalone server bundle produced by
|
|
116
|
+
* `absolute compile`. The server `compile` pass runs its own `Bun.build`,
|
|
117
|
+
* which does NOT pick up `bunBuild.plugins` (those target the client
|
|
118
|
+
* bundles only). This is the escape hatch for deps whose published source
|
|
119
|
+
* is bundle-hostile under `bun build --compile` — register an `onLoad`
|
|
120
|
+
* plugin here to rewrite their source so the standalone binary can embed
|
|
121
|
+
* them (e.g. shimming a CJS `debug` default-import interop, or stubbing a
|
|
122
|
+
* lazy `require`). Runs after Absolute's internal compile plugins.
|
|
123
|
+
*/
|
|
124
|
+
plugins?: NonNullable<BunBuildConfig['plugins']>;
|
|
114
125
|
};
|
|
115
126
|
export type HttpReadyConfig = {
|
|
116
127
|
type?: 'http';
|