@absolutejs/absolute 0.19.0-beta.1059 → 0.19.0-beta.1060

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-CM0bVp/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-emJa5f/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-CM0bVp/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-emJa5f/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-CM0bVp/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-emJa5f/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/build.js CHANGED
@@ -19210,6 +19210,10 @@ var resolveJsxDevRuntimeCompatPath = () => {
19210
19210
  }, generateEntrySource = async (specifier) => {
19211
19211
  if (specifier === "react/jsx-dev-runtime") {
19212
19212
  return `export { Fragment, jsxDEV } from '${jsxDevRuntimeCompatPath}';
19213
+ `;
19214
+ }
19215
+ if (specifier === "react-refresh/runtime") {
19216
+ return `export * from '${reactRefreshRuntimePath}';
19213
19217
  `;
19214
19218
  }
19215
19219
  const mod = await import(specifier);
@@ -19253,13 +19257,15 @@ var resolveJsxDevRuntimeCompatPath = () => {
19253
19257
  }
19254
19258
  };
19255
19259
  var init_buildReactVendor = __esm(() => {
19260
+ init_generateReactIndexes();
19256
19261
  jsxDevRuntimeCompatPath = resolveJsxDevRuntimeCompatPath();
19257
19262
  reactSpecifiers = [
19258
19263
  "react",
19259
19264
  "react-dom",
19260
19265
  "react-dom/client",
19261
19266
  "react/jsx-runtime",
19262
- "react/jsx-dev-runtime"
19267
+ "react/jsx-dev-runtime",
19268
+ "react-refresh/runtime"
19263
19269
  ];
19264
19270
  });
19265
19271
 
@@ -19661,10 +19667,7 @@ import {
19661
19667
  } from "fs";
19662
19668
  import { basename as basename11, dirname as dirname18, extname as extname8, join as join36, relative as relative14, resolve as resolve25 } from "path";
19663
19669
  import { cwd, env as env2, exit } from "process";
19664
- var {
19665
- build: bunBuild7,
19666
- Glob: Glob8
19667
- } = globalThis.Bun;
19670
+ var {build: bunBuild7, Glob: Glob8 } = globalThis.Bun;
19668
19671
  var isDev, isBuildTraceEnabled = () => {
19669
19672
  const value = env2.ABSOLUTE_BUILD_TRACE?.toLowerCase();
19670
19673
  return value === "1" || value === "true" || value === "yes";
@@ -20820,14 +20823,6 @@ ${content.slice(firstUseIdx)}`;
20820
20823
  ];
20821
20824
  const svelteResolveConditions = svelteDir ? ["svelte", "main"] : undefined;
20822
20825
  const htmlScriptPlugin = hmr ? createHTMLScriptHMRPlugin(htmlDir, htmxDir) : undefined;
20823
- const reactRefreshRuntimePlugin = {
20824
- name: "absolute-react-refresh-runtime",
20825
- setup(builder) {
20826
- builder.onResolve({ filter: /^react-refresh\/runtime$/ }, () => ({
20827
- path: reactRefreshRuntimePath
20828
- }));
20829
- }
20830
- };
20831
20826
  const reactBuildConfig = reactClientEntryPoints.length > 0 ? mergeBunBuildConfig({
20832
20827
  entrypoints: reactClientEntryPoints,
20833
20828
  ...Object.keys(reactExternalPaths).length > 0 ? { external: Object.keys(reactExternalPaths) } : {},
@@ -20839,11 +20834,7 @@ ${content.slice(firstUseIdx)}`;
20839
20834
  jsx: { development: true },
20840
20835
  reactFastRefresh: true
20841
20836
  } : {},
20842
- plugins: hmr ? [
20843
- stylePreprocessorPlugin2,
20844
- reactRefreshRuntimePlugin,
20845
- ...islandRegistryPlugins
20846
- ] : [
20837
+ plugins: [
20847
20838
  stylePreprocessorPlugin2,
20848
20839
  ...islandRegistryPlugins
20849
20840
  ],
@@ -27623,5 +27614,5 @@ export {
27623
27614
  build
27624
27615
  };
27625
27616
 
27626
- //# debugId=FECCAE4098E91EE764756E2164756E21
27617
+ //# debugId=637A49BFB9744A5B64756E2164756E21
27627
27618
  //# sourceMappingURL=build.js.map