@trebired/bundler 3.6.1 → 4.0.0
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/CHANGELOG.md +21 -0
- package/README.md +279 -6
- package/dist/core/build.d.ts.map +1 -1
- package/dist/core/build.js +4 -0
- package/dist/core/build.js.map +1 -1
- package/dist/core/discovery/aggregate.d.ts +5 -1
- package/dist/core/discovery/aggregate.d.ts.map +1 -1
- package/dist/core/discovery/aggregate.js +6 -3
- package/dist/core/discovery/aggregate.js.map +1 -1
- package/dist/core/discovery/exports.d.ts +17 -0
- package/dist/core/discovery/exports.d.ts.map +1 -0
- package/dist/core/discovery/exports.js +106 -0
- package/dist/core/discovery/exports.js.map +1 -0
- package/dist/core/discovery/normalize.d.ts.map +1 -1
- package/dist/core/discovery/normalize.js +1 -0
- package/dist/core/discovery/normalize.js.map +1 -1
- package/dist/core/discovery/resolve.d.ts.map +1 -1
- package/dist/core/discovery/resolve.js +16 -8
- package/dist/core/discovery/resolve.js.map +1 -1
- package/dist/core/discovery/scan.js +1 -1
- package/dist/core/discovery/scan.js.map +1 -1
- package/dist/core/discovery/shared.d.ts +1 -0
- package/dist/core/discovery/shared.d.ts.map +1 -1
- package/dist/core/discovery/shared.js.map +1 -1
- package/dist/core/esbuild-options.d.ts +6 -1
- package/dist/core/esbuild-options.d.ts.map +1 -1
- package/dist/core/esbuild-options.js +20 -0
- package/dist/core/esbuild-options.js.map +1 -1
- package/dist/core/frontend.d.ts +8 -0
- package/dist/core/frontend.d.ts.map +1 -0
- package/dist/core/frontend.js +51 -0
- package/dist/core/frontend.js.map +1 -0
- package/dist/core/frontend_app/assets.d.ts +5 -0
- package/dist/core/frontend_app/assets.d.ts.map +1 -0
- package/dist/core/frontend_app/assets.js +74 -0
- package/dist/core/frontend_app/assets.js.map +1 -0
- package/dist/core/frontend_app/build.d.ts +5 -0
- package/dist/core/frontend_app/build.d.ts.map +1 -0
- package/dist/core/frontend_app/build.js +82 -0
- package/dist/core/frontend_app/build.js.map +1 -0
- package/dist/core/frontend_app/config.d.ts +6 -0
- package/dist/core/frontend_app/config.d.ts.map +1 -0
- package/dist/core/frontend_app/config.js +183 -0
- package/dist/core/frontend_app/config.js.map +1 -0
- package/dist/core/frontend_app/defaults.d.ts +12 -0
- package/dist/core/frontend_app/defaults.d.ts.map +1 -0
- package/dist/core/frontend_app/defaults.js +58 -0
- package/dist/core/frontend_app/defaults.js.map +1 -0
- package/dist/core/frontend_app/hygiene.d.ts +6 -0
- package/dist/core/frontend_app/hygiene.d.ts.map +1 -0
- package/dist/core/frontend_app/hygiene.js +46 -0
- package/dist/core/frontend_app/hygiene.js.map +1 -0
- package/dist/core/frontend_app/index.d.ts +11 -0
- package/dist/core/frontend_app/index.d.ts.map +1 -0
- package/dist/core/frontend_app/index.js +11 -0
- package/dist/core/frontend_app/index.js.map +1 -0
- package/dist/core/frontend_app/manifest.d.ts +16 -0
- package/dist/core/frontend_app/manifest.d.ts.map +1 -0
- package/dist/core/frontend_app/manifest.js +82 -0
- package/dist/core/frontend_app/manifest.js.map +1 -0
- package/dist/core/frontend_app/related.d.ts +4 -0
- package/dist/core/frontend_app/related.d.ts.map +1 -0
- package/dist/core/frontend_app/related.js +25 -0
- package/dist/core/frontend_app/related.js.map +1 -0
- package/dist/core/frontend_app/runtime.d.ts +4 -0
- package/dist/core/frontend_app/runtime.d.ts.map +1 -0
- package/dist/core/frontend_app/runtime.js +148 -0
- package/dist/core/frontend_app/runtime.js.map +1 -0
- package/dist/core/frontend_app/ssr.d.ts +5 -0
- package/dist/core/frontend_app/ssr.d.ts.map +1 -0
- package/dist/core/frontend_app/ssr.js +28 -0
- package/dist/core/frontend_app/ssr.js.map +1 -0
- package/dist/core/frontend_app/static.d.ts +5 -0
- package/dist/core/frontend_app/static.d.ts.map +1 -0
- package/dist/core/frontend_app/static.js +165 -0
- package/dist/core/frontend_app/static.js.map +1 -0
- package/dist/core/manifest.d.ts +3 -1
- package/dist/core/manifest.d.ts.map +1 -1
- package/dist/core/manifest.js +2 -0
- package/dist/core/manifest.js.map +1 -1
- package/dist/core/output-layout.d.ts +25 -0
- package/dist/core/output-layout.d.ts.map +1 -0
- package/dist/core/output-layout.js +239 -0
- package/dist/core/output-layout.js.map +1 -0
- package/dist/core/post-build.d.ts +15 -0
- package/dist/core/post-build.d.ts.map +1 -0
- package/dist/core/post-build.js +21 -0
- package/dist/core/post-build.js.map +1 -0
- package/dist/core/precompression.d.ts +15 -0
- package/dist/core/precompression.d.ts.map +1 -0
- package/dist/core/precompression.js +147 -0
- package/dist/core/precompression.js.map +1 -0
- package/dist/core/related-entries.d.ts +4 -0
- package/dist/core/related-entries.d.ts.map +1 -0
- package/dist/core/related-entries.js +78 -0
- package/dist/core/related-entries.js.map +1 -0
- package/dist/core/shared.d.ts +3 -1
- package/dist/core/shared.d.ts.map +1 -1
- package/dist/core/shared.js +4 -0
- package/dist/core/shared.js.map +1 -1
- package/dist/core/watch.d.ts.map +1 -1
- package/dist/core/watch.js +4 -0
- package/dist/core/watch.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/src/core/build.d.ts.map +1 -1
- package/dist/src/core/build.js +4 -0
- package/dist/src/core/build.js.map +1 -1
- package/dist/src/core/discovery/aggregate.d.ts +5 -1
- package/dist/src/core/discovery/aggregate.d.ts.map +1 -1
- package/dist/src/core/discovery/aggregate.js +6 -3
- package/dist/src/core/discovery/aggregate.js.map +1 -1
- package/dist/src/core/discovery/exports.d.ts +17 -0
- package/dist/src/core/discovery/exports.d.ts.map +1 -0
- package/dist/src/core/discovery/exports.js +106 -0
- package/dist/src/core/discovery/exports.js.map +1 -0
- package/dist/src/core/discovery/normalize.d.ts.map +1 -1
- package/dist/src/core/discovery/normalize.js +1 -0
- package/dist/src/core/discovery/normalize.js.map +1 -1
- package/dist/src/core/discovery/resolve.d.ts.map +1 -1
- package/dist/src/core/discovery/resolve.js +16 -8
- package/dist/src/core/discovery/resolve.js.map +1 -1
- package/dist/src/core/discovery/scan.js +1 -1
- package/dist/src/core/discovery/scan.js.map +1 -1
- package/dist/src/core/discovery/shared.d.ts +1 -0
- package/dist/src/core/discovery/shared.d.ts.map +1 -1
- package/dist/src/core/discovery/shared.js.map +1 -1
- package/dist/src/core/esbuild-options.d.ts +6 -1
- package/dist/src/core/esbuild-options.d.ts.map +1 -1
- package/dist/src/core/esbuild-options.js +20 -0
- package/dist/src/core/esbuild-options.js.map +1 -1
- package/dist/src/core/frontend.d.ts +8 -0
- package/dist/src/core/frontend.d.ts.map +1 -0
- package/dist/src/core/frontend.js +51 -0
- package/dist/src/core/frontend.js.map +1 -0
- package/dist/src/core/frontend_app/assets.d.ts +5 -0
- package/dist/src/core/frontend_app/assets.d.ts.map +1 -0
- package/dist/src/core/frontend_app/assets.js +74 -0
- package/dist/src/core/frontend_app/assets.js.map +1 -0
- package/dist/src/core/frontend_app/build.d.ts +5 -0
- package/dist/src/core/frontend_app/build.d.ts.map +1 -0
- package/dist/src/core/frontend_app/build.js +82 -0
- package/dist/src/core/frontend_app/build.js.map +1 -0
- package/dist/src/core/frontend_app/config.d.ts +6 -0
- package/dist/src/core/frontend_app/config.d.ts.map +1 -0
- package/dist/src/core/frontend_app/config.js +183 -0
- package/dist/src/core/frontend_app/config.js.map +1 -0
- package/dist/src/core/frontend_app/defaults.d.ts +12 -0
- package/dist/src/core/frontend_app/defaults.d.ts.map +1 -0
- package/dist/src/core/frontend_app/defaults.js +58 -0
- package/dist/src/core/frontend_app/defaults.js.map +1 -0
- package/dist/src/core/frontend_app/hygiene.d.ts +6 -0
- package/dist/src/core/frontend_app/hygiene.d.ts.map +1 -0
- package/dist/src/core/frontend_app/hygiene.js +46 -0
- package/dist/src/core/frontend_app/hygiene.js.map +1 -0
- package/dist/src/core/frontend_app/index.d.ts +11 -0
- package/dist/src/core/frontend_app/index.d.ts.map +1 -0
- package/dist/src/core/frontend_app/index.js +11 -0
- package/dist/src/core/frontend_app/index.js.map +1 -0
- package/dist/src/core/frontend_app/manifest.d.ts +16 -0
- package/dist/src/core/frontend_app/manifest.d.ts.map +1 -0
- package/dist/src/core/frontend_app/manifest.js +82 -0
- package/dist/src/core/frontend_app/manifest.js.map +1 -0
- package/dist/src/core/frontend_app/related.d.ts +4 -0
- package/dist/src/core/frontend_app/related.d.ts.map +1 -0
- package/dist/src/core/frontend_app/related.js +25 -0
- package/dist/src/core/frontend_app/related.js.map +1 -0
- package/dist/src/core/frontend_app/runtime.d.ts +4 -0
- package/dist/src/core/frontend_app/runtime.d.ts.map +1 -0
- package/dist/src/core/frontend_app/runtime.js +148 -0
- package/dist/src/core/frontend_app/runtime.js.map +1 -0
- package/dist/src/core/frontend_app/ssr.d.ts +5 -0
- package/dist/src/core/frontend_app/ssr.d.ts.map +1 -0
- package/dist/src/core/frontend_app/ssr.js +28 -0
- package/dist/src/core/frontend_app/ssr.js.map +1 -0
- package/dist/src/core/frontend_app/static.d.ts +5 -0
- package/dist/src/core/frontend_app/static.d.ts.map +1 -0
- package/dist/src/core/frontend_app/static.js +165 -0
- package/dist/src/core/frontend_app/static.js.map +1 -0
- package/dist/src/core/manifest.d.ts +3 -1
- package/dist/src/core/manifest.d.ts.map +1 -1
- package/dist/src/core/manifest.js +2 -0
- package/dist/src/core/manifest.js.map +1 -1
- package/dist/src/core/output-layout.d.ts +25 -0
- package/dist/src/core/output-layout.d.ts.map +1 -0
- package/dist/src/core/output-layout.js +239 -0
- package/dist/src/core/output-layout.js.map +1 -0
- package/dist/src/core/post-build.d.ts +15 -0
- package/dist/src/core/post-build.d.ts.map +1 -0
- package/dist/src/core/post-build.js +21 -0
- package/dist/src/core/post-build.js.map +1 -0
- package/dist/src/core/precompression.d.ts +15 -0
- package/dist/src/core/precompression.d.ts.map +1 -0
- package/dist/src/core/precompression.js +147 -0
- package/dist/src/core/precompression.js.map +1 -0
- package/dist/src/core/related-entries.d.ts +4 -0
- package/dist/src/core/related-entries.d.ts.map +1 -0
- package/dist/src/core/related-entries.js +78 -0
- package/dist/src/core/related-entries.js.map +1 -0
- package/dist/src/core/shared.d.ts +3 -1
- package/dist/src/core/shared.d.ts.map +1 -1
- package/dist/src/core/shared.js +4 -0
- package/dist/src/core/shared.js.map +1 -1
- package/dist/src/core/watch.d.ts.map +1 -1
- package/dist/src/core/watch.js +4 -0
- package/dist/src/core/watch.js.map +1 -1
- package/dist/src/index.d.ts +5 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/types/discovery.d.ts +3 -0
- package/dist/src/types/discovery.d.ts.map +1 -1
- package/dist/src/types/frontend.d.ts +16 -0
- package/dist/src/types/frontend.d.ts.map +1 -0
- package/dist/src/types/frontend.js +2 -0
- package/dist/src/types/frontend.js.map +1 -0
- package/dist/src/types/frontend_app.d.ts +190 -0
- package/dist/src/types/frontend_app.d.ts.map +1 -0
- package/dist/src/types/frontend_app.js +2 -0
- package/dist/src/types/frontend_app.js.map +1 -0
- package/dist/src/types/output_layout.d.ts +19 -0
- package/dist/src/types/output_layout.d.ts.map +1 -0
- package/dist/src/types/output_layout.js +2 -0
- package/dist/src/types/output_layout.js.map +1 -0
- package/dist/src/types/precompression.d.ts +30 -0
- package/dist/src/types/precompression.d.ts.map +1 -0
- package/dist/src/types/precompression.js +2 -0
- package/dist/src/types/precompression.js.map +1 -0
- package/dist/src/types/related_entries.d.ts +22 -0
- package/dist/src/types/related_entries.d.ts.map +1 -0
- package/dist/src/types/related_entries.js +2 -0
- package/dist/src/types/related_entries.js.map +1 -0
- package/dist/src/types/runtime.d.ts +8 -1
- package/dist/src/types/runtime.d.ts.map +1 -1
- package/dist/src/types.d.ts +5 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/types/discovery.d.ts +3 -0
- package/dist/types/discovery.d.ts.map +1 -1
- package/dist/types/frontend.d.ts +16 -0
- package/dist/types/frontend.d.ts.map +1 -0
- package/dist/types/frontend.js +2 -0
- package/dist/types/frontend.js.map +1 -0
- package/dist/types/frontend_app.d.ts +190 -0
- package/dist/types/frontend_app.d.ts.map +1 -0
- package/dist/types/frontend_app.js +2 -0
- package/dist/types/frontend_app.js.map +1 -0
- package/dist/types/output_layout.d.ts +19 -0
- package/dist/types/output_layout.d.ts.map +1 -0
- package/dist/types/output_layout.js +2 -0
- package/dist/types/output_layout.js.map +1 -0
- package/dist/types/precompression.d.ts +30 -0
- package/dist/types/precompression.d.ts.map +1 -0
- package/dist/types/precompression.js +2 -0
- package/dist/types/precompression.js.map +1 -0
- package/dist/types/related_entries.d.ts +22 -0
- package/dist/types/related_entries.d.ts.map +1 -0
- package/dist/types/related_entries.js +2 -0
- package/dist/types/related_entries.js.map +1 -0
- package/dist/types/runtime.d.ts +8 -1
- package/dist/types/runtime.d.ts.map +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -2
|
@@ -17,6 +17,7 @@ type BundlerAggregateModuleMap = {
|
|
|
17
17
|
keyFromPath?: "relative-path";
|
|
18
18
|
collapseIndex?: boolean;
|
|
19
19
|
allowEmpty?: boolean;
|
|
20
|
+
requireMatchedModuleExport?: boolean;
|
|
20
21
|
exports?: BundlerAggregateModuleMapExports;
|
|
21
22
|
};
|
|
22
23
|
type BundlerDiscoverEntryRule = {
|
|
@@ -55,10 +56,12 @@ type BundlerAggregateEntryMetadata = {
|
|
|
55
56
|
kind: "module-map";
|
|
56
57
|
rootModule?: string;
|
|
57
58
|
matchedSources: string[];
|
|
59
|
+
skippedSources?: string[];
|
|
58
60
|
};
|
|
59
61
|
type BundlerAggregateRuleMetadata = {
|
|
60
62
|
kind: "module-map";
|
|
61
63
|
rootModule?: string;
|
|
64
|
+
skippedSources?: string[];
|
|
62
65
|
};
|
|
63
66
|
type BundlerEntryRecord = {
|
|
64
67
|
aggregate?: BundlerAggregateEntryMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovery.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,CAAC;IAChB,QAAQ,EAAE,2BAA2B,CAAC;CACvC,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAC3C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAEF,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,EACpB,yBAAyB,EACzB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { BundlerDiscoverEntryRule } from "./discovery.js";
|
|
2
|
+
import type { BundlerRelatedEntriesOptions } from "./related_entries.js";
|
|
3
|
+
type BundlerFrontendEntryRulesOptions = {
|
|
4
|
+
clientExclude?: string[];
|
|
5
|
+
clientInclude?: string[];
|
|
6
|
+
clientKey?: string;
|
|
7
|
+
deferredExclude?: string[];
|
|
8
|
+
deferredInclude?: string[];
|
|
9
|
+
deferredKey?: string;
|
|
10
|
+
};
|
|
11
|
+
type BundlerFrontendRelatedEntriesOptions = Omit<BundlerRelatedEntriesOptions, "candidateExtensions" | "candidatePatterns" | "candidateSuffixes"> & {
|
|
12
|
+
candidatePatterns?: readonly string[];
|
|
13
|
+
};
|
|
14
|
+
type BundlerFrontendEntryRule = BundlerDiscoverEntryRule;
|
|
15
|
+
export type { BundlerFrontendEntryRule, BundlerFrontendEntryRulesOptions, BundlerFrontendRelatedEntriesOptions, };
|
|
16
|
+
//# sourceMappingURL=frontend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend.d.ts","sourceRoot":"","sources":["../../../src/types/frontend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEzE,KAAK,gCAAgC,GAAG;IACtC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,KAAK,oCAAoC,GAAG,IAAI,CAC9C,4BAA4B,EAC5B,qBAAqB,GAAG,mBAAmB,GAAG,mBAAmB,CAClE,GAAG;IACF,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC,CAAC;AAEF,KAAK,wBAAwB,GAAG,wBAAwB,CAAC;AAEzD,YAAY,EACV,wBAAwB,EACxB,gCAAgC,EAChC,oCAAoC,GACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend.js","sourceRoot":"","sources":["../../../src/types/frontend.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import type { IncomingHttpHeaders } from "node:http";
|
|
2
|
+
import type { BundlerDiscoverAggregateRule, BundlerDiscoverRule } from "./discovery.js";
|
|
3
|
+
import type { BundlerFrontendEntryRulesOptions } from "./frontend.js";
|
|
4
|
+
import type { BundlerImportGraphTsconfigOptions } from "./import_graph.js";
|
|
5
|
+
import type { BundlerAssetManifest, BundlerCollectedAssetLinks, BundlerCollectAssetLinksOptions } from "./manifest.js";
|
|
6
|
+
import type { BundlerLogger } from "./logging.js";
|
|
7
|
+
import type { BundlerOutputLayoutOptions } from "./output_layout.js";
|
|
8
|
+
import type { BundlerPrecompressOptions, BundlerPrecompressStats } from "./precompression.js";
|
|
9
|
+
import type { BundlerBuildResult, BundlerOptions, BundlerWatchSession } from "./runtime.js";
|
|
10
|
+
type BundlerFrontendMode = "development" | "production";
|
|
11
|
+
type BundlerSsrModuleMapRuleOptions = {
|
|
12
|
+
allowEmpty?: boolean;
|
|
13
|
+
collapseIndex?: boolean;
|
|
14
|
+
defaultExport?: boolean;
|
|
15
|
+
exclude?: string[];
|
|
16
|
+
include: string[];
|
|
17
|
+
key: string;
|
|
18
|
+
mapExport?: string;
|
|
19
|
+
matchedModuleExportName?: string;
|
|
20
|
+
requireMatchedModuleExport?: boolean;
|
|
21
|
+
resolverExport?: string;
|
|
22
|
+
rootExport?: string;
|
|
23
|
+
rootModule?: string;
|
|
24
|
+
rootModuleExportName?: string;
|
|
25
|
+
};
|
|
26
|
+
type BundlerFrontendAppBundlerConfigOptions = {
|
|
27
|
+
browser?: Partial<BundlerOptions>;
|
|
28
|
+
clientOutDir: string;
|
|
29
|
+
define?: Record<string, string>;
|
|
30
|
+
deferredClientEntryKey?: string;
|
|
31
|
+
extraClientRules?: BundlerDiscoverRule[];
|
|
32
|
+
extraSsrRules?: BundlerDiscoverRule[];
|
|
33
|
+
frontendDir?: string;
|
|
34
|
+
globalClientEntries?: string[];
|
|
35
|
+
globalStyleExclude?: string[];
|
|
36
|
+
globalStyleInclude?: string[];
|
|
37
|
+
globalStyleRuleKey?: string;
|
|
38
|
+
ignoredSourceInclude?: string[];
|
|
39
|
+
logger?: BundlerLogger;
|
|
40
|
+
minify?: boolean;
|
|
41
|
+
mode?: BundlerFrontendMode;
|
|
42
|
+
node?: Partial<BundlerOptions>;
|
|
43
|
+
outputLayout?: BundlerOutputLayoutOptions;
|
|
44
|
+
precompress?: BundlerPrecompressOptions;
|
|
45
|
+
publicDir?: string | false;
|
|
46
|
+
publicPath?: string;
|
|
47
|
+
rootDir?: string;
|
|
48
|
+
sourcemap?: BundlerOptions["sourcemap"];
|
|
49
|
+
ssr?: BundlerSsrModuleMapRuleOptions | false;
|
|
50
|
+
ssrOutDir?: string;
|
|
51
|
+
stripComments?: boolean;
|
|
52
|
+
supportedI18nLanguages?: readonly string[];
|
|
53
|
+
};
|
|
54
|
+
type BundlerFrontendAppBundlerConfig = {
|
|
55
|
+
clientOptions: BundlerOptions;
|
|
56
|
+
clientOutDir: string;
|
|
57
|
+
deferredClientEntryKey: string;
|
|
58
|
+
frontendDir: string;
|
|
59
|
+
globalClientEntries: string[];
|
|
60
|
+
globalStyleRuleKey: string;
|
|
61
|
+
mode: BundlerFrontendMode;
|
|
62
|
+
publicDir?: string;
|
|
63
|
+
rootDir: string;
|
|
64
|
+
ssr?: BundlerSsrModuleMapRuleOptions;
|
|
65
|
+
ssrOptions?: BundlerOptions;
|
|
66
|
+
ssrOutDir?: string;
|
|
67
|
+
};
|
|
68
|
+
type BundlerFrontendAppBundlerOptions = {
|
|
69
|
+
client: BundlerOptions;
|
|
70
|
+
config: BundlerFrontendAppBundlerConfig;
|
|
71
|
+
ssr?: BundlerOptions;
|
|
72
|
+
};
|
|
73
|
+
type BundlerAggregateSourceIdOptions = {
|
|
74
|
+
collapseIndex?: boolean;
|
|
75
|
+
extensions?: readonly string[];
|
|
76
|
+
sourcePrefix?: string;
|
|
77
|
+
};
|
|
78
|
+
type BundlerRelatedClientEntryMapOptions = {
|
|
79
|
+
aggregateSources?: readonly string[];
|
|
80
|
+
manifest?: BundlerAssetManifest | {
|
|
81
|
+
assetManifest?: BundlerAssetManifest;
|
|
82
|
+
};
|
|
83
|
+
pageId?: BundlerAggregateSourceIdOptions;
|
|
84
|
+
rootDir?: string;
|
|
85
|
+
ruleKey?: string;
|
|
86
|
+
tsconfig?: BundlerImportGraphTsconfigOptions;
|
|
87
|
+
};
|
|
88
|
+
type BundlerFrontendAssetLinksOptions = {
|
|
89
|
+
collect?: BundlerCollectAssetLinksOptions;
|
|
90
|
+
globalEntryIds?: readonly string[];
|
|
91
|
+
globalStyleRuleKey?: string;
|
|
92
|
+
manifest: BundlerAssetManifest;
|
|
93
|
+
pageIds?: readonly string[];
|
|
94
|
+
renderTags?: boolean;
|
|
95
|
+
relatedEntryMap?: Record<string, readonly string[]>;
|
|
96
|
+
};
|
|
97
|
+
type BundlerRenderedAssetTags = {
|
|
98
|
+
html: string;
|
|
99
|
+
scripts: string;
|
|
100
|
+
styles: string;
|
|
101
|
+
};
|
|
102
|
+
type BundlerFrontendAssetLinks = BundlerCollectedAssetLinks & {
|
|
103
|
+
tags?: BundlerRenderedAssetTags;
|
|
104
|
+
};
|
|
105
|
+
type BundlerSsrNodeModulesOptions = {
|
|
106
|
+
force?: boolean;
|
|
107
|
+
sourceDir?: string;
|
|
108
|
+
strategy?: "copy" | "none" | "symlink";
|
|
109
|
+
targetDir?: string;
|
|
110
|
+
};
|
|
111
|
+
type BundlerFrontendBuildOptions = BundlerFrontendAppBundlerConfigOptions & {
|
|
112
|
+
nodeModules?: BundlerSsrNodeModulesOptions;
|
|
113
|
+
};
|
|
114
|
+
type BundlerFrontendBuildResult = {
|
|
115
|
+
client: BundlerBuildResult;
|
|
116
|
+
nodeModules?: {
|
|
117
|
+
path: string;
|
|
118
|
+
strategy: "copy" | "symlink";
|
|
119
|
+
};
|
|
120
|
+
publicDirCopied: boolean;
|
|
121
|
+
relatedClientEntryMap: Record<string, string[]>;
|
|
122
|
+
ssr?: BundlerBuildResult;
|
|
123
|
+
ssrEntryOutput?: string;
|
|
124
|
+
stats: {
|
|
125
|
+
precompressed?: BundlerPrecompressStats;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
type BundlerFrontendRuntimeConfig = BundlerFrontendAppBundlerConfig & {
|
|
129
|
+
clientManifestPath?: string;
|
|
130
|
+
pageId?: BundlerAggregateSourceIdOptions;
|
|
131
|
+
renderTags?: boolean;
|
|
132
|
+
ssrManifestPath?: string;
|
|
133
|
+
tsconfig?: BundlerImportGraphTsconfigOptions;
|
|
134
|
+
};
|
|
135
|
+
type BundlerFrontendRuntimeState = {
|
|
136
|
+
client?: BundlerBuildResult;
|
|
137
|
+
clientManifest?: BundlerAssetManifest;
|
|
138
|
+
relatedClientEntryMap: Record<string, string[]>;
|
|
139
|
+
ssr?: BundlerBuildResult;
|
|
140
|
+
ssrManifest?: BundlerAssetManifest;
|
|
141
|
+
ssrModule?: Record<string, unknown>;
|
|
142
|
+
};
|
|
143
|
+
type BundlerFrontendRuntime = {
|
|
144
|
+
buildAssetLinks(pageIds?: readonly string[]): Promise<BundlerFrontendAssetLinks>;
|
|
145
|
+
dispose(): Promise<void>;
|
|
146
|
+
ensure(): Promise<BundlerFrontendRuntimeState>;
|
|
147
|
+
getRuntime(): BundlerFrontendRuntimeState | undefined;
|
|
148
|
+
resolvePageComponent(pageId: string): Promise<unknown>;
|
|
149
|
+
resolveRootDocument(): Promise<unknown>;
|
|
150
|
+
};
|
|
151
|
+
type BundlerStaticAssetRequest = {
|
|
152
|
+
headers?: Headers | IncomingHttpHeaders | Record<string, string | string[] | undefined>;
|
|
153
|
+
method?: string;
|
|
154
|
+
path?: string;
|
|
155
|
+
url?: string;
|
|
156
|
+
};
|
|
157
|
+
type BundlerStaticAssetResponse = {
|
|
158
|
+
body?: Buffer;
|
|
159
|
+
headers: Record<string, string>;
|
|
160
|
+
status: number;
|
|
161
|
+
};
|
|
162
|
+
type BundlerStaticAssetDir = string | {
|
|
163
|
+
dir: string;
|
|
164
|
+
mountPath?: string;
|
|
165
|
+
};
|
|
166
|
+
type BundlerStaticAssetHandlerOptions = {
|
|
167
|
+
blockPrivate?: boolean;
|
|
168
|
+
blockSourceMaps?: boolean;
|
|
169
|
+
clientOutDir: string;
|
|
170
|
+
devCacheControl?: string;
|
|
171
|
+
extraStaticDirs?: readonly BundlerStaticAssetDir[];
|
|
172
|
+
immutableCacheControl?: string;
|
|
173
|
+
mode?: BundlerFrontendMode;
|
|
174
|
+
publicDir?: string;
|
|
175
|
+
};
|
|
176
|
+
type BundlerExpressLikeRequest = BundlerStaticAssetRequest;
|
|
177
|
+
type BundlerExpressLikeResponse = {
|
|
178
|
+
end(body?: Buffer | string): void;
|
|
179
|
+
setHeader(name: string, value: string): void;
|
|
180
|
+
statusCode?: number;
|
|
181
|
+
};
|
|
182
|
+
type BundlerExpressLikeNext = (error?: unknown) => void;
|
|
183
|
+
type BundlerQuarantineResult = {
|
|
184
|
+
dir: string;
|
|
185
|
+
quarantineDir?: string;
|
|
186
|
+
quarantined: boolean;
|
|
187
|
+
};
|
|
188
|
+
type BundlerSsrModuleMapRule = BundlerDiscoverAggregateRule;
|
|
189
|
+
export type { BundlerAggregateSourceIdOptions, BundlerExpressLikeNext, BundlerExpressLikeRequest, BundlerExpressLikeResponse, BundlerFrontendAppBundlerConfig, BundlerFrontendAppBundlerConfigOptions, BundlerFrontendAppBundlerOptions, BundlerFrontendAssetLinks, BundlerFrontendAssetLinksOptions, BundlerFrontendBuildOptions, BundlerFrontendBuildResult, BundlerFrontendMode, BundlerFrontendRuntime, BundlerFrontendRuntimeConfig, BundlerFrontendRuntimeState, BundlerQuarantineResult, BundlerRelatedClientEntryMapOptions, BundlerRenderedAssetTags, BundlerSsrModuleMapRule, BundlerSsrModuleMapRuleOptions, BundlerSsrNodeModulesOptions, BundlerStaticAssetDir, BundlerStaticAssetHandlerOptions, BundlerStaticAssetRequest, BundlerStaticAssetResponse, BundlerWatchSession, BundlerFrontendEntryRulesOptions, };
|
|
190
|
+
//# sourceMappingURL=frontend_app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontend_app.d.ts","sourceRoot":"","sources":["../../../src/types/frontend_app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,KAAK,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACxF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,EAAE,iC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","sourceRoot":"","sources":["../../../src/types/frontend_app.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type BundlerOutputLayoutKind = "asset" | "css" | "js" | "map";
|
|
2
|
+
type BundlerOutputLayoutPatterns = {
|
|
3
|
+
asset?: string;
|
|
4
|
+
css?: string;
|
|
5
|
+
js?: string;
|
|
6
|
+
map?: string | "alongside";
|
|
7
|
+
};
|
|
8
|
+
type BundlerOutputLayoutOptions = boolean | BundlerOutputLayoutPatterns;
|
|
9
|
+
type BundlerOutputLayoutMove = {
|
|
10
|
+
bytes: number;
|
|
11
|
+
from: string;
|
|
12
|
+
kind: BundlerOutputLayoutKind;
|
|
13
|
+
to: string;
|
|
14
|
+
};
|
|
15
|
+
type BundlerOutputLayoutStats = {
|
|
16
|
+
moved: BundlerOutputLayoutMove[];
|
|
17
|
+
};
|
|
18
|
+
export type { BundlerOutputLayoutKind, BundlerOutputLayoutMove, BundlerOutputLayoutOptions, BundlerOutputLayoutPatterns, BundlerOutputLayoutStats, };
|
|
19
|
+
//# sourceMappingURL=output_layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output_layout.d.ts","sourceRoot":"","sources":["../../../src/types/output_layout.ts"],"names":[],"mappings":"AAAA,KAAK,uBAAuB,GAAG,OAAO,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;AAE9D,KAAK,2BAA2B,GAAG;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;CAC5B,CAAC;AAEF,KAAK,0BAA0B,GAAG,OAAO,GAAG,2BAA2B,CAAC;AAExE,KAAK,uBAAuB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,uBAAuB,CAAC;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,uBAAuB,EAAE,CAAC;CAClC,CAAC;AAEF,YAAY,EACV,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,wBAAwB,GACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output_layout.js","sourceRoot":"","sources":["../../../src/types/output_layout.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type BundlerPrecompressFormat = "br" | "gzip";
|
|
2
|
+
type BundlerPrecompressOptions = boolean | {
|
|
3
|
+
brotliQuality?: number;
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
exclude?: readonly string[];
|
|
6
|
+
formats?: readonly BundlerPrecompressFormat[];
|
|
7
|
+
gzipLevel?: number;
|
|
8
|
+
include?: readonly string[];
|
|
9
|
+
minSize?: number | string;
|
|
10
|
+
};
|
|
11
|
+
type BundlerPrecompressAssetsOptions = Exclude<BundlerPrecompressOptions, boolean> & {
|
|
12
|
+
outDir: string;
|
|
13
|
+
outputs?: readonly string[];
|
|
14
|
+
};
|
|
15
|
+
type BundlerPrecompressedAsset = {
|
|
16
|
+
bytes: number;
|
|
17
|
+
compressedBytes: number;
|
|
18
|
+
format: BundlerPrecompressFormat;
|
|
19
|
+
output: string;
|
|
20
|
+
ratio: number;
|
|
21
|
+
source: string;
|
|
22
|
+
};
|
|
23
|
+
type BundlerPrecompressStats = {
|
|
24
|
+
assets: BundlerPrecompressedAsset[];
|
|
25
|
+
formats: BundlerPrecompressFormat[];
|
|
26
|
+
totalBytes: number;
|
|
27
|
+
totalCompressedBytes: number;
|
|
28
|
+
};
|
|
29
|
+
export type { BundlerPrecompressAssetsOptions, BundlerPrecompressFormat, BundlerPrecompressedAsset, BundlerPrecompressOptions, BundlerPrecompressStats, };
|
|
30
|
+
//# sourceMappingURL=precompression.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"precompression.d.ts","sourceRoot":"","sources":["../../../src/types/precompression.ts"],"names":[],"mappings":"AAAA,KAAK,wBAAwB,GAAG,IAAI,GAAG,MAAM,CAAC;AAE9C,KAAK,yBAAyB,GAAG,OAAO,GAAG;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,SAAS,wBAAwB,EAAE,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,+BAA+B,GAAG,OAAO,CAAC,yBAAyB,EAAE,OAAO,CAAC,GAAG;IACnF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC7B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,wBAAwB,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,yBAAyB,EAAE,CAAC;IACpC,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,YAAY,EACV,+BAA+B,EAC/B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,GACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"precompression.js","sourceRoot":"","sources":["../../../src/types/precompression.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { BundlerImportGraph, BundlerImportGraphOptions, BundlerImportGraphTsconfigOptions } from "./import_graph.js";
|
|
2
|
+
type BundlerRelatedEntryMatch = {
|
|
3
|
+
entry: string;
|
|
4
|
+
pattern: string;
|
|
5
|
+
source: string;
|
|
6
|
+
};
|
|
7
|
+
type BundlerRelatedEntriesOptions = {
|
|
8
|
+
candidateExtensions?: readonly string[];
|
|
9
|
+
candidatePatterns?: readonly string[];
|
|
10
|
+
candidateSuffixes?: readonly string[];
|
|
11
|
+
extensions?: BundlerImportGraphOptions["extensions"];
|
|
12
|
+
rootDir?: string;
|
|
13
|
+
sources: string | string[];
|
|
14
|
+
tsconfig?: BundlerImportGraphTsconfigOptions;
|
|
15
|
+
};
|
|
16
|
+
type BundlerRelatedEntriesResult = {
|
|
17
|
+
entries: string[];
|
|
18
|
+
graph: BundlerImportGraph;
|
|
19
|
+
matches: BundlerRelatedEntryMatch[];
|
|
20
|
+
};
|
|
21
|
+
export type { BundlerRelatedEntriesOptions, BundlerRelatedEntriesResult, BundlerRelatedEntryMatch, };
|
|
22
|
+
//# sourceMappingURL=related_entries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"related_entries.d.ts","sourceRoot":"","sources":["../../../src/types/related_entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,iCAAiC,EAClC,MAAM,mBAAmB,CAAC;AAE3B,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,UAAU,CAAC,EAAE,yBAAyB,CAAC,YAAY,CAAC,CAAC;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,kBAAkB,CAAC;IAC1B,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACrC,CAAC;AAEF,YAAY,EACV,4BAA4B,EAC5B,2BAA2B,EAC3B,wBAAwB,GACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"related_entries.js","sourceRoot":"","sources":["../../../src/types/related_entries.ts"],"names":[],"mappings":""}
|
package/dist/types/runtime.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import type { Format, Metafile } from "esbuild";
|
|
1
|
+
import type { Format, Loader, Metafile } from "esbuild";
|
|
2
2
|
import type { ResultLike } from "@package/result";
|
|
3
3
|
import type { BundlerResolvedDiscovery } from "./discovery.js";
|
|
4
4
|
import type { BundlerI18nOptions } from "./i18n.js";
|
|
5
5
|
import type { BundlerLogger, BundlerLoggerAdapter } from "./logging.js";
|
|
6
6
|
import type { BundlerAssetManifest, BundlerManifestOptions } from "./manifest.js";
|
|
7
|
+
import type { BundlerOutputLayoutOptions, BundlerOutputLayoutStats } from "./output_layout.js";
|
|
8
|
+
import type { BundlerPrecompressOptions, BundlerPrecompressStats } from "./precompression.js";
|
|
7
9
|
type BundlerEnvironment = "browser" | "node" | "neutral";
|
|
8
10
|
type BundlerOptions = {
|
|
9
11
|
discover: import("./discovery.js").BundlerDiscoverOptions | import("./discovery.js").BundlerDiscoverOptions[];
|
|
@@ -17,6 +19,9 @@ type BundlerOptions = {
|
|
|
17
19
|
sourcemap?: boolean | "inline" | "external";
|
|
18
20
|
splitting?: boolean;
|
|
19
21
|
publicPath?: string;
|
|
22
|
+
loader?: Record<string, Loader>;
|
|
23
|
+
outputLayout?: BundlerOutputLayoutOptions;
|
|
24
|
+
precompress?: BundlerPrecompressOptions;
|
|
20
25
|
external?: string[];
|
|
21
26
|
define?: Record<string, string>;
|
|
22
27
|
clean?: boolean;
|
|
@@ -34,6 +39,8 @@ type BundlerBuildResult = {
|
|
|
34
39
|
warnings: number;
|
|
35
40
|
metafile?: Metafile;
|
|
36
41
|
assetManifest?: BundlerAssetManifest;
|
|
42
|
+
outputLayout?: BundlerOutputLayoutStats;
|
|
43
|
+
precompressed?: BundlerPrecompressStats;
|
|
37
44
|
manifestPath?: string;
|
|
38
45
|
durationMs: number;
|
|
39
46
|
resolvedDiscovery: BundlerResolvedDiscovery;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/types/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/types/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,KAAK,EAAE,0BAA0B,EAAE,wBAA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BundlerLogger, } from "./types/logging.js";
|
|
2
2
|
export type { BundlerAggregateEntryMetadata, BundlerAggregateKind, BundlerAggregateModuleMap, BundlerAggregateModuleMapExports, BundlerAggregateRuleMetadata, BundlerDiscoverAggregateRule, BundlerDiscoverBundleRule, BundlerDiscoverEntryRule, BundlerDiscoverIgnoreRule, BundlerDiscoverOptions, BundlerDiscoverRule, BundlerDiscoverRuleStrategy, BundlerEntryKind, BundlerEntryRecord, BundlerEntrySource, BundlerResolvedDiscovery, BundlerResolvedRule, BundlerVirtualEntryLoader, } from "./types/discovery.js";
|
|
3
3
|
export type { BundlerAssetManifest, BundlerAssetManifestEntry, BundlerAssetManifestOutput, BundlerAssetManifestRule, BundlerAssetManifestSource, BundlerBuildAssetManifestOptions, BundlerCollectedAssetLinks, BundlerCollectAssetLinksLookup, BundlerCollectAssetLinksOptions, BundlerDerivedManifest, BundlerDerivedManifestChunk, BundlerDerivedManifestEntry, BundlerDerivedManifestOutput, BundlerDerivedManifestOutputKind, BundlerManifestOptions, } from "./types/manifest.js";
|
|
4
|
+
export type { BundlerOutputLayoutKind, BundlerOutputLayoutMove, BundlerOutputLayoutOptions, BundlerOutputLayoutPatterns, BundlerOutputLayoutStats, } from "./types/output_layout.js";
|
|
5
|
+
export type { BundlerPrecompressAssetsOptions, BundlerPrecompressFormat, BundlerPrecompressedAsset, BundlerPrecompressOptions, BundlerPrecompressStats, } from "./types/precompression.js";
|
|
6
|
+
export type { BundlerRelatedEntriesOptions, BundlerRelatedEntriesResult, BundlerRelatedEntryMatch, } from "./types/related_entries.js";
|
|
7
|
+
export type { BundlerFrontendEntryRule, BundlerFrontendEntryRulesOptions, BundlerFrontendRelatedEntriesOptions, } from "./types/frontend.js";
|
|
8
|
+
export type { BundlerAggregateSourceIdOptions, BundlerExpressLikeNext, BundlerExpressLikeRequest, BundlerExpressLikeResponse, BundlerFrontendAppBundlerConfig, BundlerFrontendAppBundlerConfigOptions, BundlerFrontendAppBundlerOptions, BundlerFrontendAssetLinks, BundlerFrontendAssetLinksOptions, BundlerFrontendBuildOptions, BundlerFrontendBuildResult, BundlerFrontendMode, BundlerFrontendRuntime, BundlerFrontendRuntimeConfig, BundlerFrontendRuntimeState, BundlerQuarantineResult, BundlerRelatedClientEntryMapOptions, BundlerRenderedAssetTags, BundlerSsrModuleMapRule, BundlerSsrModuleMapRuleOptions, BundlerSsrNodeModulesOptions, BundlerStaticAssetDir, BundlerStaticAssetHandlerOptions, BundlerStaticAssetRequest, BundlerStaticAssetResponse, } from "./types/frontend_app.js";
|
|
4
9
|
export type { BundlerImportGraph, BundlerImportGraphFile, BundlerImportGraphImport, BundlerImportGraphImportKind, BundlerImportGraphOptions, BundlerImportGraphTsconfigOptions, BundlerTsconfigPaths, } from "./types/import_graph.js";
|
|
5
10
|
export type { BundlerBuildResult, BundlerEnvironment, BundlerOptions, BundlerWatchSession, LoadedBundlerConfig, } from "./types/runtime.js";
|
|
6
11
|
export type { BundlerI18nOptions, NormalizedBundlerI18nOptions, } from "./types/i18n.js";
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,6BAA6B,EAC7B,oBAAoB,EACpB,yBAAyB,EACzB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,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": "@trebired/bundler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Discover-only esbuild bundler wrapper with SCSS support, watch mode, and runtime asset manifests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && node ./scripts/prepare-dist.mjs",
|
|
37
37
|
"demo": "bun run examples/dummy.ts",
|
|
38
|
-
"prepublishOnly": "bun run typecheck && bun run build && bun run verify:pack && bun run verify:i18n",
|
|
38
|
+
"prepublishOnly": "bun run typecheck && bun run build && bun run verify:pack && bun run verify:i18n && bun run verify:bundler && bun run verify:frontend-app",
|
|
39
39
|
"typecheck": "tsc --noEmit",
|
|
40
|
+
"verify:bundler": "node ./scripts/verify/bundler.mjs",
|
|
41
|
+
"verify:frontend-app": "node ./scripts/verify/frontend-app.mjs",
|
|
40
42
|
"verify:i18n": "node ./scripts/verify/i18n.mjs",
|
|
41
43
|
"verify:pack": "node ./scripts/verify/pack.mjs"
|
|
42
44
|
},
|