@absolutejs/absolute 0.19.0-beta.1080 → 0.19.0-beta.1081

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/dist/index.js CHANGED
@@ -5940,6 +5940,9 @@ var init_constants = __esm(() => {
5940
5940
  TWO_THIRDS = 2 / 3;
5941
5941
  });
5942
5942
 
5943
+ // src/utils/runtimeMode.ts
5944
+ var ENV_VAR = "NODE_ENV", isDevelopmentRuntime = () => process.env[ENV_VAR] === "development", isProductionRuntime = () => process.env[ENV_VAR] === "production";
5945
+
5943
5946
  // src/core/islandManifest.ts
5944
5947
  var toIslandFrameworkSegment = (framework) => framework[0]?.toUpperCase() + framework.slice(1), collectFrameworkIslands = (manifest, prefix) => {
5945
5948
  const entries = {};
@@ -6668,9 +6671,6 @@ var init_streamingSlots = __esm(() => {
6668
6671
  };
6669
6672
  });
6670
6673
 
6671
- // src/utils/runtimeMode.ts
6672
- var ENV_VAR = "NODE_ENV", isDevelopmentRuntime = () => process.env[ENV_VAR] === "development", isProductionRuntime = () => process.env[ENV_VAR] === "production";
6673
-
6674
6674
  // src/angular/angularPatch.ts
6675
6675
  var exports_angularPatch = {};
6676
6676
  __export(exports_angularPatch, {
@@ -39052,7 +39052,11 @@ init_constants();
39052
39052
  var asset = (source, name) => {
39053
39053
  const assetPath = source[name];
39054
39054
  if (assetPath === undefined) {
39055
- throw new Error(`Asset "${name}" not found in manifest.`);
39055
+ if (isProductionRuntime()) {
39056
+ throw new Error(`Asset "${name}" not found in manifest.`);
39057
+ }
39058
+ console.warn(`[asset] key "${name}" not found in manifest (dev mode \u2014 skipping)`);
39059
+ return "";
39056
39060
  }
39057
39061
  return assetPath;
39058
39062
  };
@@ -47010,5 +47014,5 @@ export {
47010
47014
  ANGULAR_INIT_TIMEOUT_MS
47011
47015
  };
47012
47016
 
47013
- //# debugId=D08EDC1FBDB79DA364756E2164756E21
47017
+ //# debugId=85B63AC64B1CEB3264756E2164756E21
47014
47018
  //# sourceMappingURL=index.js.map