@absolutejs/absolute 0.19.0-beta.731 → 0.19.0-beta.732
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/build.js +60 -57
- package/dist/build.js.map +5 -5
- package/dist/index.js +60 -57
- package/dist/index.js.map +5 -5
- package/dist/src/build/rewriteImports.d.ts +9 -0
- package/package.json +1 -1
|
@@ -5,3 +5,12 @@
|
|
|
5
5
|
* Uses native Zig scanner (15x faster) when available, falls back
|
|
6
6
|
* to JS regex on Windows or when the native addon is missing. */
|
|
7
7
|
export declare const rewriteImports: (outputPaths: string[], vendorPaths: Record<string, string>) => Promise<void>;
|
|
8
|
+
/** Post-process every .js in one or more vendor directories using the
|
|
9
|
+
* combined cross-framework path map. Required because each vendor build
|
|
10
|
+
* externalizes packages owned by other vendor pipelines (e.g. a dep-vendor
|
|
11
|
+
* wrapper around `@sentry/angular` externalizes `@angular/core` so it isn't
|
|
12
|
+
* duplicated, leaving a bare `from "@angular/core"` in the output). Without
|
|
13
|
+
* this rewrite the browser fetches the vendor file at runtime and chokes
|
|
14
|
+
* on the bare specifier. Run AFTER all vendor builds complete so every
|
|
15
|
+
* framework's path map is included in `vendorPaths`. */
|
|
16
|
+
export declare const rewriteVendorDirectories: (vendorDirs: string[], vendorPaths: Record<string, string>) => Promise<void>;
|
package/package.json
CHANGED