@absolutejs/absolute 0.19.0-beta.1084 → 0.19.0-beta.1085

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.
@@ -10,4 +10,5 @@ export declare const inlineLineMapComment: (sourcePath: string, sourceContent: s
10
10
  export declare const remapGeneratedLines: (mappings: string, lineRemap: number[]) => string;
11
11
  export declare const chainSourcemap: (outer: SourceMap, fetchInner: (sourcePath: string) => SourceMap | null) => SourceMap;
12
12
  export declare const chainBundleInlineSourcemap: (bundleFilePath: string) => void;
13
+ export declare const chainExternalSourcemap: (mapFilePath: string) => void;
13
14
  export {};
@@ -3,6 +3,11 @@ import type { ConventionsMap } from '../../types/conventions';
3
3
  import type { BuildConfig, BunBuildConfigOverride, BunBuildPassKey } from '../../types/build';
4
4
  type BunBuildOptions = Parameters<typeof bunBuild>[0];
5
5
  export declare const resolveBunBuildOverride: (config: BuildConfig["bunBuild"], pass: BunBuildPassKey) => Partial<Omit<Bun.BuildConfig, "root" | "entrypoints" | "outdir" | "target" | "format" | "throw" | "compile">>;
6
+ /** Resolve the Bun `sourcemap` mode for CLIENT bundles from the `sourcemaps`
7
+ * config. Dev always uses inline maps (HMR / devtools); production emits
8
+ * external maps only when explicitly enabled — they're then chained back to
9
+ * source + moved to a private dir by `privatizeClientSourcemaps`. */
10
+ export declare const resolveClientSourcemap: (sourcemaps: BuildConfig["sourcemaps"], isDev: boolean) => "inline" | "external" | "none";
6
11
  export declare const mergeBunBuildConfig: (base: BunBuildOptions, override: BunBuildConfigOverride) => BunBuildOptions;
7
12
  export declare const build: (config: BuildConfig) => Promise<{
8
13
  conventions?: undefined;
@@ -52,6 +52,7 @@ export declare const loadConfig: (configPath?: string) => Promise<{
52
52
  sitemap?: import("..").SitemapConfig;
53
53
  openapi?: boolean | import("..").OpenApiConfig;
54
54
  telemetry?: boolean | import("..").OtelConfig;
55
+ sourcemaps?: "external" | "inline" | boolean;
55
56
  entry?: string;
56
57
  shutdown?: import("..").ServiceShutdownConfig;
57
58
  }>;
@@ -239,6 +239,7 @@ export type BaseBuildConfig = {
239
239
  sitemap?: SitemapConfig;
240
240
  openapi?: boolean | OpenApiConfig;
241
241
  telemetry?: boolean | OtelConfig;
242
+ sourcemaps?: 'external' | 'inline' | boolean;
242
243
  };
243
244
  export type OpenApiConfig = {
244
245
  documentation?: {
package/package.json CHANGED
@@ -418,7 +418,7 @@
418
418
  ]
419
419
  }
420
420
  },
421
- "version": "0.19.0-beta.1084",
421
+ "version": "0.19.0-beta.1085",
422
422
  "workspaces": [
423
423
  "tests/fixtures/*",
424
424
  "tests/fixtures/_packages/*"