@staticbolt/core 1.0.0-beta.32 → 1.0.0-beta.33

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/lib/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { basename, extname, isAbsolute, parse as parse$1, resolve } from "node:path";
1
+ import { basename, extname, isAbsolute, parse as parse$2, resolve } from "node:path";
2
2
  import { ObjectEncodingOptions, OpenMode, PathLike, PathOrFileDescriptor } from "node:fs";
3
3
  import { FileHandle } from "node:fs/promises";
4
4
  import { Document, HTMLElement, HTMLElement as HTMLElement$1, Node } from "@staticbolt/node-html-parser";
@@ -1934,7 +1934,7 @@ declare function filterStyleMetadata(metadata: MetadataBase$1): {
1934
1934
  htmlMetadata?: HtmlMetadata$1;
1935
1935
  }[];
1936
1936
  declare namespace path_d_exports {
1937
- export { appendForwardSlash, basename, dirname, extname, firstPart, isAbsolute, isPathMatch, isSubpath, join, normalize, parse$1 as parse, parsePatterns, rebaseRelativePath, relative, replaceExtension, resolve, sourceRelativeToRoot, trimDotPrefix };
1937
+ export { appendForwardSlash, basename, dirname, extname, firstPart, isAbsolute, isPathMatch, isSubpath, join, normalize, parse$2 as parse, parsePatterns, rebaseRelativePath, relative, replaceExtension, resolve, sourceRelativeToRoot, trimDotPrefix };
1938
1938
  }
1939
1939
  declare const join: (...arguments_: string[]) => string;
1940
1940
  declare const relative: (from: string, to: string) => string;
@@ -12,9 +12,9 @@ interface AnalyzeOutputOptions {
12
12
  */
13
13
  deleteUnused?: boolean;
14
14
  /**
15
- * Log unused files.
15
+ * List the unused files, instead of only their count.
16
16
  *
17
- * @default true
17
+ * @default false
18
18
  */
19
19
  logUnusedFiles?: boolean;
20
20
  /**
@@ -48,24 +48,40 @@ interface AnalyzeOutputOptions {
48
48
  */
49
49
  declare function analyzeOutputPlugin(options?: AnalyzeOutputOptions): Plugin;
50
50
  //#endregion
51
+ //#region src/plugins/bundle-packages/plan/resolve-chunks.d.ts
52
+ /**
53
+ * What goes in one chunk.
54
+ *
55
+ * An array is taken literally: exactly these packages, nothing pulled in with them. The object form starts from `include` and
56
+ * pulls in what those packages need.
57
+ */
58
+ type ChunkOption = string[] | {
59
+ include: string[];
60
+ exclude?: string[];
61
+ };
62
+ //#endregion
51
63
  //#region src/plugins/bundle-packages/bundle-packages-plugin.d.ts
52
64
  interface BundlePackagesOptions {
53
65
  /** Output directory for bundled `node_modules` packages, relative to the build output directory. */
54
66
  packagesDir?: string;
55
67
  /**
56
- * Bundles specific packages into a single chunk for optimized loading.
68
+ * Groups several packages into one file.
69
+ *
70
+ * Pass an array to bundle exactly those packages.
57
71
  *
58
- * Useful for grouping related libraries (e.g., all React dependencies) or bundling CommonJS modules for browser compatibility.
72
+ * Pass an object to bundle the `include` packages along with their dependencies.\
73
+ * A dependency is left out if the project imports it itself, if it is listed in `exclude`, or if it is only ever loaded lazily
74
+ * with `import()`.
59
75
  *
60
76
  * @example
61
77
  * bundlePackagesPlugin({
62
- * "react-bundle": ["react", "react-dom", "react-dom/client", "react/jsx-runtime", "scheduler"],
78
+ * chunks: {
79
+ * highlighting: { include: ["expressive-code"], exclude: ["postcss"] },
80
+ * vendor: ["lodash-es", "dayjs"],
81
+ * },
63
82
  * });
64
- *
65
- * @key Chunk name
66
- * @value Array of package names to include in the bundle
67
83
  */
68
- chunks?: Record<string, string[]>;
84
+ chunks?: Record<string, ChunkOption>;
69
85
  /**
70
86
  * Custom package resolver entries to override default resolution logic.
71
87
  *
@@ -89,22 +105,17 @@ interface BundlePackagesOptions {
89
105
  }>>;
90
106
  }
91
107
  /**
92
- * Bundles every "node_modules" package imported anywhere in the project into its own file under "packagesDir" and rewrites the
93
- * imports to point at it. Specifiers are collected across the whole codebase first, so esbuild can tree-shake each package down
94
- * to what is actually used.
108
+ * Bundles every `node_modules` package imported anywhere in the project into a file under `packagesDir`, and rewrites the imports
109
+ * to point at it.
95
110
  *
96
111
  * Notes:
97
112
  *
98
- * - Runs in both modes; minification and tree-shaking are production-only.
99
- * - Bare imports in scripts and "<script src>" tags resolving into "node_modules" are both redirected; a script tag is counted as a
100
- * side-effect import.
101
- * - A "<link rel=stylesheet>" shipped by a package is moved next to the package output, keeping its path inside the package. Other
102
- * file types stay where they resolve, under "node_modules".
103
- * - Dots in the output path become underscores ("highlight.js" becomes "highlight_js"), so a package cannot collide with the file
104
- * bundled from it.
105
- * - "chunks" merges packages into one file and renames their default imports to "default_<package>" so they share a module scope,
106
- * which is what CommonJS packages need to work in the browser.
107
- * - A package first discovered while bundling another one is bundled right away, then re-bundled once its specifiers are known.
113
+ * - Minification and tree-shaking are production-only.
114
+ * - `<script src>` into `node_modules` is redirected too, and counts as a side-effect import.
115
+ * - A stylesheet shipped by a package, linked from HTML or `@import`ed from CSS, is copied next to the package output, keeping its
116
+ * path inside the package.
117
+ * - Dots in output paths become underscores (`highlight.js` → `highlight_js`) so a package cannot collide with its own bundle.
118
+ * - Packages that `require` each other are bundled together.
108
119
  */
109
120
  declare function bundlePackagesPlugin(options?: BundlePackagesOptions): Plugin;
110
121
  //#endregion
@@ -942,32 +953,80 @@ declare function htmlBundleScriptPlugin(options?: HtmlBundleScriptOptions): Plug
942
953
  //#endregion
943
954
  //#region src/plugins/html-bundle-style/html-bundle-style-plugin.d.ts
944
955
  interface HtmlBundleStyleOptions {
956
+ /**
957
+ * Glob patterns for imports that are kept as external `@import`s instead of being inlined, matched against the resolved path of
958
+ * the import, at any depth.
959
+ *
960
+ * Applied when the `externalsAttribute` is not set on the tag.
961
+ *
962
+ * @default [ ]
963
+ */
964
+ externals?: string[];
965
+ /**
966
+ * Glob patterns that exempt imports from being treated as external, even if they match `externals`.
967
+ *
968
+ * Applied when the `externalsExcludeAttribute` is not set on the tag.
969
+ *
970
+ * @default [ ]
971
+ */
972
+ externalsExclude?: string[];
945
973
  /**
946
974
  * The HTML attribute name that enables bundling on a link[stylesheet] or style tag.
947
975
  *
948
976
  * @default "bundle"
949
977
  */
950
978
  bundleAttribute?: string;
979
+ /**
980
+ * The HTML attribute name that specifies the output file path for a bundled `<link>` stylesheet.
981
+ *
982
+ * The attribute value is always resolved relative to the output directory, regardless of where the HTML file lives.
983
+ *
984
+ * @default "bundle-out"
985
+ */
986
+ bundleOutAttribute?: string;
987
+ /**
988
+ * The HTML attribute name that specifies which imports to keep as external.
989
+ *
990
+ * Accepts a semicolon-separated list of glob patterns.
991
+ *
992
+ * @default "bundle-externals"
993
+ */
994
+ externalsAttribute?: string;
995
+ /**
996
+ * The HTML attribute name that specifies which imports to exempt from being external.
997
+ *
998
+ * Accepts a semicolon-separated list of glob patterns.
999
+ *
1000
+ * @default "bundle-externals-exclude"
1001
+ */
1002
+ externalsExcludeAttribute?: string;
951
1003
  }
952
1004
  /**
953
- * Inlines the "@import" tree of a stylesheet, so the tag ends up self-contained. Opt-in per tag through the "bundle" attribute
954
- * (configurable via HtmlBundleStyleOptions) on a "<link rel=stylesheet>" or a "<style>" tag.
1005
+ * Inlines the "@import" tree of a stylesheet, so the tag ends up self-contained. Opt-in per tag through the "bundle" attribute on
1006
+ * a "<link rel=stylesheet>", a "<link rel=preload as=style>" or a "<style>" tag.
1007
+ *
1008
+ * Attributes (names configurable via HtmlBundleStyleOptions):
1009
+ *
1010
+ * - "bundle": bundle this tag.
1011
+ * - "bundle-out": output path for a link tag, resolved from the output directory, not from the HTML file.
1012
+ * - "bundle-externals" / "bundle-externals-exclude": semicolon-separated globs, override the plugin defaults for this tag.
955
1013
  *
956
- * Bundling happens in place: a "<style>" tag gets the resolved CSS as its content, and a linked file is rewritten with its
957
- * imports inlined while "href" stays as it is.
1014
+ * A "<link>" is bundled to "{filename}.bundle.css" next to the original (or to "bundle-out") and "href" is rewritten to it; the
1015
+ * source file is never touched. A "<style>" tag gets the resolved CSS as its content, in place.
958
1016
  *
959
1017
  * Notes:
960
1018
  *
961
- * - Production only. In development nothing runs and the "bundle" attribute is left on the tag.
962
- * - "<link rel=preload as=style>" is always bundled, with or without the attribute, since a preloaded stylesheet has to carry
963
- * everything it needs.
964
- * - A linked stylesheet is bundled once even when several pages link to it; they share the same file.
1019
+ * - Bundling only runs in production; in dev the attributes are just stripped. They never reach the output either way.
1020
+ * - If the target output path is already bundled, the work is skipped and "href" is simply pointed at it.
965
1021
  * - Imports resolve the way every other source does: relative paths, path aliases and packages, through the build's resolver.
966
1022
  * - Imported files are pulled from the build (so transforms other plugins made are included) and only read from disk when they are
967
- * not part of it. They stay in the output as separate files, now unreferenced. Their "url()" references are rebased onto the
968
- * bundle's location.
1023
+ * not part of it. They stay in the output as separate files. Their "url()" references are rebased onto the bundle's location.
1024
+ * - An import matching the externals globs is kept as an "@import" (hoisted, conditions folded in, path rebased) and the file it
1025
+ * points at stays in the output.
969
1026
  * - Conditions ("layer", "supports()", media) wrap the imported rules, a file imported twice under the same conditions is kept
970
1027
  * where it was imported last, as in a browser, and imports from other origins are hoisted to the top.
1028
+ * - Combining with html-inline-style: register this plugin first, so a tag carrying both attributes bundles first and the inlined
1029
+ * content is the bundle.
971
1030
  */
972
1031
  declare function htmlBundleStylePlugin(options?: HtmlBundleStyleOptions): Plugin;
973
1032
  //#endregion
@@ -1097,6 +1156,8 @@ interface HtmlInlineStyleOptions {
1097
1156
  * - A local file has to be part of the build already, otherwise its metadata is not found and nothing is inlined.
1098
1157
  * - The inlined copy is rebased onto the HTML file, so relative "url()" and "@import" paths keep resolving, and the original file
1099
1158
  * stays in the output unless something removes it.
1159
+ * - Combining with html-bundle-style: register that plugin first, so a link carrying both attributes is bundled before it is
1160
+ * inlined and the inlined content is the bundle.
1100
1161
  */
1101
1162
  declare function htmlInlineStylePlugin(options?: HtmlInlineStyleOptions): Plugin;
1102
1163
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/plugins/analyze-output/analyze-output-plugin.ts","../../src/plugins/bundle-packages/bundle-packages-plugin.ts","../../src/plugins/convert-images/convert-images-plugin.ts","../../src/plugins/copy-assets/copy-assets-plugin.ts","../../src/plugins/custom-ease/easing-functions/types.d.ts","../../src/plugins/custom-ease/custom-ease-plugin.ts","../../src/plugins/i18n/i18n-plugin.ts","../../src/plugins/import-as-string/types.ts","../../src/plugins/import-as-string/import-as-string-plugin.ts","../../src/plugins/load-sources/load-sources-plugin.ts","../../src/plugins/robots-text/robots-text-plugin.ts","../../src/plugins/service-worker/service-worker-plugin.ts","../../src/plugins/sitemap/sitemap-plugin.ts","../../src/plugins/svgo/svgo-plugin.ts","../../src/plugins/transform-css/transform-css-plugin.ts","../../src/plugins/transform-js/transform-js-plugin.ts","../../src/plugins/web-manifest/web-manifest-plugin.ts","../../src/plugins/write-files/write-files-plugin.ts","../../src/plugins/html-build-time-script/html-build-time-script.ts","../../src/plugins/html-bundle-script/html-bundle-script-plugin.ts","../../src/plugins/html-bundle-style/html-bundle-style-plugin.ts","../../src/plugins/html-env-only/html-environment-only-plugin.ts","../../src/plugins/html-fragment/html-fragment-plugin.ts","../../src/plugins/html-iife-script/html-iife-script-plugin.ts","../../src/plugins/html-inline-script/html-inline-script-plugin.ts","../../src/plugins/html-inline-style/html-inline-style-plugin.ts","../../src/plugins/html-inline-svg/html-inline-svg-plugin.ts","../../src/plugins/html-inline-text/html-inline-text-plugin.ts","../../src/plugins/html-insert/html-insert-plugin.ts","../../src/plugins/html-layout/options.ts","../../src/plugins/html-layout/html-layout-plugin.ts","../../src/plugins/html-markdown/html-markdown-plugin.ts","../../src/plugins/html-merge-styles/html-merge-styles-plugin.ts","../../src/plugins/html-pages/html-pages-plugin.ts","../../src/plugins/html-preload/html-preload-plugin.ts","../../src/plugins/core-plugins/html-metadata/html-metadata-plugin.ts","../../src/plugins/core-plugins/markdown-metadata/markdown-metadata-plugin.ts","../../src/plugins/core-plugins/script-metadata/script-metadata-plugin.ts","../../src/plugins/core-plugins/style-metadata/style-metadata-plugin.ts","../../src/plugins/core-plugins/svg-metadata/svg-metadata-plugin.ts","../../src/plugins/core-plugins/web-manifest-metadata/web-manifest-metadata-plugin.ts","../../src/plugins/core-plugins/development-server/development-server-plugin.ts","../../src/plugins/cli-plugins/build/build-cli-plugin.ts","../../src/plugins/cli-plugins/convert-fonts/convert-fonts-cli-plugin.ts","../../src/plugins/cli-plugins/generate-font-face/generate-font-face-cli-plugin.ts","../../src/plugins/cli-plugins/material-you/material-you/types.d.ts","../../src/plugins/cli-plugins/material-you/material-you-cli-plugin.ts","../../src/plugins/cli-plugins/serve/serve-cli-plugin.ts"],"mappings":";;;;;;UAWiB;;;;;;EAMf;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,cAAc;;;;;;;;;;;;;;;;;;iBAmBA,oBAAoB,UAAS,uBAA4B;;;UCnCxD;;EAEf;;;;;;;;;;;;;;EAeA,SAAS;;;;;;;;;;;;;;;;;;EAmBT,iBAAiB,eAAe;IAA0B;IAAqB;;;;;;;;;;;;;;;;;;;;;iBAyBjE,qBAAqB,UAAS,wBAA6B;;;KCxE/D;KACA;UAEK;;;;;;EAMf,SAAS;;;;;;EAOT;;;;;;EAOA,SAAS;;;;;;EAOT;;;;;;EAOA;;;;;;;;;;;;;;;;;;iBAmBc,mBAAmB,UAAS,sBAA2B;;;UC5DtD;;;;;;EAMf;;;;;;EAOA;;;;;;EAOA;;;;;;;;;;;;;;;iBAgBc,iBAAiB,UAAS,oBAAyB;;;KC3CvD,gBAAgB;UASX;EACf,SAAS,eAAe,oBAAoB,kBAAkB,mBAAmB;EACjF;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT;EACA;EACA,SAAS;EACT,WAAW;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA,UAAU;EACV;EACA;EACA,UAAU;EACV,YAAY;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;EACZ;EACA;EACA,YAAY;EACZ,cAAc;;;;UCpCC;;;;;;;;;;EAUf;;;;;;;;;EAUA;;;;;;;;;;;;EAaA;;;;;;;;;;;;EAaA;;;;;;;;;;EAWA;;;;;;;;;;;;;EAcA,aAAa,6BAA6B,0BAA0B;;;;;;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;;;;;;;;;;iBAcc,qBAAqB,UAAS,8BAAmC;;;UChDhE;;;;;;EAMf;;;;;;EAOA;;;;;;;;;;;;;;iBAec,eAAe,UAAS,wBAA6B"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/plugins/analyze-output/analyze-output-plugin.ts","../../src/plugins/bundle-packages/plan/resolve-chunks.ts","../../src/plugins/bundle-packages/bundle-packages-plugin.ts","../../src/plugins/convert-images/convert-images-plugin.ts","../../src/plugins/copy-assets/copy-assets-plugin.ts","../../src/plugins/custom-ease/easing-functions/types.d.ts","../../src/plugins/custom-ease/custom-ease-plugin.ts","../../src/plugins/i18n/i18n-plugin.ts","../../src/plugins/import-as-string/types.ts","../../src/plugins/import-as-string/import-as-string-plugin.ts","../../src/plugins/load-sources/load-sources-plugin.ts","../../src/plugins/robots-text/robots-text-plugin.ts","../../src/plugins/service-worker/service-worker-plugin.ts","../../src/plugins/sitemap/sitemap-plugin.ts","../../src/plugins/svgo/svgo-plugin.ts","../../src/plugins/transform-css/transform-css-plugin.ts","../../src/plugins/transform-js/transform-js-plugin.ts","../../src/plugins/web-manifest/web-manifest-plugin.ts","../../src/plugins/write-files/write-files-plugin.ts","../../src/plugins/html-build-time-script/html-build-time-script.ts","../../src/plugins/html-bundle-script/html-bundle-script-plugin.ts","../../src/plugins/html-bundle-style/html-bundle-style-plugin.ts","../../src/plugins/html-env-only/html-environment-only-plugin.ts","../../src/plugins/html-fragment/html-fragment-plugin.ts","../../src/plugins/html-iife-script/html-iife-script-plugin.ts","../../src/plugins/html-inline-script/html-inline-script-plugin.ts","../../src/plugins/html-inline-style/html-inline-style-plugin.ts","../../src/plugins/html-inline-svg/html-inline-svg-plugin.ts","../../src/plugins/html-inline-text/html-inline-text-plugin.ts","../../src/plugins/html-insert/html-insert-plugin.ts","../../src/plugins/html-layout/options.ts","../../src/plugins/html-layout/html-layout-plugin.ts","../../src/plugins/html-markdown/html-markdown-plugin.ts","../../src/plugins/html-merge-styles/html-merge-styles-plugin.ts","../../src/plugins/html-pages/html-pages-plugin.ts","../../src/plugins/html-preload/html-preload-plugin.ts","../../src/plugins/core-plugins/html-metadata/html-metadata-plugin.ts","../../src/plugins/core-plugins/markdown-metadata/markdown-metadata-plugin.ts","../../src/plugins/core-plugins/script-metadata/script-metadata-plugin.ts","../../src/plugins/core-plugins/style-metadata/style-metadata-plugin.ts","../../src/plugins/core-plugins/svg-metadata/svg-metadata-plugin.ts","../../src/plugins/core-plugins/web-manifest-metadata/web-manifest-metadata-plugin.ts","../../src/plugins/core-plugins/development-server/development-server-plugin.ts","../../src/plugins/cli-plugins/build/build-cli-plugin.ts","../../src/plugins/cli-plugins/convert-fonts/convert-fonts-cli-plugin.ts","../../src/plugins/cli-plugins/generate-font-face/generate-font-face-cli-plugin.ts","../../src/plugins/cli-plugins/material-you/material-you/types.d.ts","../../src/plugins/cli-plugins/material-you/material-you-cli-plugin.ts","../../src/plugins/cli-plugins/serve/serve-cli-plugin.ts"],"mappings":";;;;;;UAWiB;;;;;;EAMf;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,cAAc;;;;;;;;;;;;;;;;;;iBAmBA,oBAAoB,UAAS,uBAA4B;;;;;;;;;KC7C7D;EAA2B;EAAmB;;;;UCOzC;;EAEf;;;;;;;;;;;;;;;;;;EAmBA,SAAS,eAAe;;;;;;;;;;;;;;;;;;EAmBxB,iBAAiB,eAAe;IAA0B;IAAqB;;;;;;;;;;;;;;;;iBAgBjE,qBAAqB,UAAS,wBAA6B;;;KChE/D;KACA;UAEK;;;;;;EAMf,SAAS;;;;;;EAOT;;;;;;EAOA,SAAS;;;;;;EAOT;;;;;;EAOA;;;;;;;;;;;;;;;;;;iBAmBc,mBAAmB,UAAS,sBAA2B;;;UC5DtD;;;;;;EAMf;;;;;;EAOA;;;;;;EAOA;;;;;;;;;;;;;;;iBAgBc,iBAAiB,UAAS,oBAAyB;;;KC3CvD,gBAAgB;UASX;EACf,SAAS,eAAe,oBAAoB,kBAAkB,mBAAmB;E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