@stencil/core 5.0.0-beta.9 → 5.0.0-rc.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/dist/app-data/index.d.ts +1 -1
- package/dist/app-data/index.js +1 -0
- package/dist/{client-BRu0GtRn.mjs → client-ClM4H9-P.mjs} +204 -76
- package/dist/compiler/browser.d.ts +120 -81
- package/dist/compiler/browser.js +964 -402
- package/dist/compiler/index.d.mts +110 -2
- package/dist/compiler/index.mjs +3 -3
- package/dist/compiler/utils/index.d.mts +2 -2
- package/dist/compiler/utils/index.mjs +3 -3
- package/dist/{compiler-wLrjuSOK.mjs → compiler-DFanjq9z.mjs} +5300 -3005
- package/dist/declarations/stencil-public-compiler.d.ts +178 -133
- package/dist/declarations/stencil-public-docs.d.ts +23 -0
- package/dist/declarations/stencil-public-runtime.d.ts +81 -59
- package/dist/{index-BvF31nqP.d.mts → index-DvfFOkiJ.d.mts} +220 -133
- package/dist/{index-BXAcVN2j.d.ts → index-XQHZl0MW.d.ts} +70 -57
- package/dist/{index-BAP9T4CB.d.mts → index-aBMJC5F9.d.mts} +6 -2
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.d.mts +6 -0
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-75gQKkFz.mjs → node-DJP8JuAS.mjs} +42 -48
- package/dist/runtime/client/lazy.js +522 -262
- package/dist/runtime/client/runtime.d.ts +100 -68
- package/dist/runtime/client/runtime.js +522 -262
- package/dist/runtime/index.d.ts +6 -6
- package/dist/runtime/index.js +521 -261
- package/dist/runtime/server/index.d.mts +36 -12
- package/dist/runtime/server/index.mjs +635 -304
- package/dist/runtime/server/runner.d.mts +49 -6
- package/dist/runtime/server/runner.mjs +385 -87
- package/dist/signals/index.d.ts +11 -2
- package/dist/signals/index.js +15 -35
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +152 -124
- package/dist/testing/index.mjs +535 -269
- package/dist/{util-IKfWWLJo.mjs → util-C-H1H84W.mjs} +8 -1
- package/dist/{validation-DAdGTrys.mjs → validation-ByYYKvnS.mjs} +37 -3
- package/package.json +8 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ListenTargetOptions, ResolutionHandler } from "./stencil-public-runtime.js";
|
|
2
|
-
import { InputOptions, Plugin, SourceMap } from "rolldown";
|
|
2
|
+
import { InputOptions, Plugin as Plugin$1, SourceMap } from "rolldown";
|
|
3
3
|
import "typescript";
|
|
4
4
|
//#region src/utils/result.d.ts
|
|
5
5
|
/**
|
|
@@ -394,6 +394,11 @@ interface JsonDocsComponent {
|
|
|
394
394
|
* A deprecation reason/description found following a `@deprecated` tag
|
|
395
395
|
*/
|
|
396
396
|
deprecation?: string;
|
|
397
|
+
/**
|
|
398
|
+
* `true` if this is a "CSS-only component"
|
|
399
|
+
* discovered in .css file via `@component`-marked JSDoc block
|
|
400
|
+
*/
|
|
401
|
+
cssOnly?: boolean;
|
|
397
402
|
}
|
|
398
403
|
interface JsonDocsDependencyGraph {
|
|
399
404
|
[tagName: string]: string[];
|
|
@@ -553,6 +558,16 @@ interface JsonDocsStyle {
|
|
|
553
558
|
* The annotation used in the JSDoc of the style (e.g. `@prop`)
|
|
554
559
|
*/
|
|
555
560
|
annotation: string;
|
|
561
|
+
/**
|
|
562
|
+
* The CSS `syntax` descriptor for a custom property, if it was registered via a native
|
|
563
|
+
* `@property` at-rule (e.g. `"<length>"`).
|
|
564
|
+
*/
|
|
565
|
+
syntax?: string;
|
|
566
|
+
/**
|
|
567
|
+
* The `initial-value` descriptor for a custom property, if it was registered via a native
|
|
568
|
+
* `@property` at-rule.
|
|
569
|
+
*/
|
|
570
|
+
default?: string;
|
|
556
571
|
/**
|
|
557
572
|
* The mode associated with the style
|
|
558
573
|
*/
|
|
@@ -639,9 +654,19 @@ interface StyleDoc {
|
|
|
639
654
|
* The Stencil style-mode that is associated with this property.
|
|
640
655
|
*/
|
|
641
656
|
mode: string | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* The CSS `syntax` descriptor, if this property was registered via a native `@property` at-rule.
|
|
659
|
+
*/
|
|
660
|
+
syntax?: string;
|
|
661
|
+
/**
|
|
662
|
+
* The `initial-value` descriptor, if this property was registered via a native `@property` at-rule.
|
|
663
|
+
*/
|
|
664
|
+
default?: string;
|
|
642
665
|
}
|
|
643
666
|
//#endregion
|
|
644
667
|
//#region src/declarations/stencil-private.d.ts
|
|
668
|
+
/** Build-time virtual `@import`s a `global-style` input can use to place Stencil-generated CSS. */
|
|
669
|
+
type StencilVirtualImport = 'stencil-hydrate' | 'stencil-component-globals' | 'stencil-css-components';
|
|
645
670
|
interface SourceMap$1 {
|
|
646
671
|
file: string;
|
|
647
672
|
mappings: string;
|
|
@@ -668,6 +693,7 @@ interface BuildFeatures {
|
|
|
668
693
|
shadowSlotAssignmentManual: boolean;
|
|
669
694
|
shadowClonable: boolean;
|
|
670
695
|
shadowSerializable: boolean;
|
|
696
|
+
shadowReferenceTarget: boolean;
|
|
671
697
|
scoped: boolean;
|
|
672
698
|
/**
|
|
673
699
|
* Every component has a render function
|
|
@@ -780,6 +806,7 @@ interface BuildCtx {
|
|
|
780
806
|
esmComponentBundle: ReadonlyArray<BundleModule>;
|
|
781
807
|
commonJsComponentBundle: ReadonlyArray<BundleModule>;
|
|
782
808
|
components: ComponentCompilerMeta[];
|
|
809
|
+
cssOnlyComponents: ComponentCompilerMeta[];
|
|
783
810
|
componentGraph: Map<string, string[]>;
|
|
784
811
|
config: ValidatedConfig;
|
|
785
812
|
createTimeSpan(msg: string, debug?: boolean): LoggerTimeSpan;
|
|
@@ -828,6 +855,9 @@ interface BuildCtx {
|
|
|
828
855
|
*/
|
|
829
856
|
stylesPromise: Promise<string>;
|
|
830
857
|
stylesUpdated: BuildStyleUpdate[];
|
|
858
|
+
globalStylesUpdated: BuildGlobalStyleLinkUpdate[];
|
|
859
|
+
/** Absolute path of the generated `{fsNamespace}.css`, when this build emitted one */
|
|
860
|
+
stencilCssFile?: string;
|
|
831
861
|
timeSpan: LoggerTimeSpan;
|
|
832
862
|
timestamp: string;
|
|
833
863
|
transpileBuildCount: number;
|
|
@@ -840,6 +870,14 @@ interface BuildStyleUpdate {
|
|
|
840
870
|
styleText: string;
|
|
841
871
|
styleMode: string;
|
|
842
872
|
}
|
|
873
|
+
/**
|
|
874
|
+
* A live-reload update for a `global-style` output target's CSS, matched on
|
|
875
|
+
* the client by `fileName` against the `<link>`
|
|
876
|
+
*/
|
|
877
|
+
interface BuildGlobalStyleLinkUpdate {
|
|
878
|
+
fileName: string;
|
|
879
|
+
styleText: string;
|
|
880
|
+
}
|
|
843
881
|
type BuildTask = any;
|
|
844
882
|
interface CompilerBuildStats {
|
|
845
883
|
timestamp: string;
|
|
@@ -981,6 +1019,12 @@ interface CompilerCtx {
|
|
|
981
1019
|
cssModuleImports: Map<string, string[]>;
|
|
982
1020
|
/** Cache of built global styles, keyed by input file path */
|
|
983
1021
|
globalStyleCache: Map<string, string>;
|
|
1022
|
+
/** Cache of discovered CSS-only components from the last scan, keyed by absolute .css file path */
|
|
1023
|
+
cssOnlyComponentsCache: Map<string, ComponentCompilerMeta[]>;
|
|
1024
|
+
/** Contents of the last auto-placed `stencil-*` CSS, used to detect changes for HMR */
|
|
1025
|
+
stencilCss?: string;
|
|
1026
|
+
/** Virtual imports found in each built global style (post-preprocessing), keyed by input path */
|
|
1027
|
+
globalStyleVirtualImports: Map<string, Set<StencilVirtualImport>>;
|
|
984
1028
|
collections: CollectionCompilerMeta[];
|
|
985
1029
|
compilerOptions: any;
|
|
986
1030
|
events: BuildEvents;
|
|
@@ -1126,7 +1170,7 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
|
|
|
1126
1170
|
* Custom states to initialize on the ElementInternals.states CustomStateSet.
|
|
1127
1171
|
* These are defined via @AttachInternals({ states: {...} }).
|
|
1128
1172
|
*/
|
|
1129
|
-
attachInternalsCustomStates:
|
|
1173
|
+
attachInternalsCustomStates: JsonDocsCustomState[];
|
|
1130
1174
|
componentClassName: string;
|
|
1131
1175
|
/**
|
|
1132
1176
|
* A list of web component tag names that are either:
|
|
@@ -1187,6 +1231,11 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
|
|
|
1187
1231
|
* using HTMLSlotElement.assign(). Only applicable when encapsulation is 'shadow'.
|
|
1188
1232
|
*/
|
|
1189
1233
|
slotAssignment: 'manual' | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* `id` of the element within the shadow root that IDREFs targeting the host resolve to.
|
|
1236
|
+
* Only applicable when encapsulation is 'shadow'.
|
|
1237
|
+
*/
|
|
1238
|
+
shadowReferenceTarget: string | null;
|
|
1190
1239
|
/**
|
|
1191
1240
|
* Per-component slot patches for non-shadow DOM components.
|
|
1192
1241
|
* These patches enable proper slot behavior without native Shadow DOM.
|
|
@@ -1196,7 +1245,7 @@ interface ComponentCompilerMeta extends ComponentCompilerFeatures {
|
|
|
1196
1245
|
sourceFilePath: string;
|
|
1197
1246
|
sourceMapPath: string;
|
|
1198
1247
|
states: ComponentCompilerState[];
|
|
1199
|
-
styleDocs:
|
|
1248
|
+
styleDocs: StyleDoc[];
|
|
1200
1249
|
styles: StyleCompiler[];
|
|
1201
1250
|
globalStyles: ComponentGlobalStyle[];
|
|
1202
1251
|
tagName: string;
|
|
@@ -1399,20 +1448,6 @@ interface ComponentCompilerState {
|
|
|
1399
1448
|
* Custom states are exposed via the ElementInternals.states CustomStateSet
|
|
1400
1449
|
* and can be targeted with the CSS :state() pseudo-class.
|
|
1401
1450
|
*/
|
|
1402
|
-
interface ComponentCompilerCustomState {
|
|
1403
|
-
/**
|
|
1404
|
-
* The name of the custom state (without dashes)
|
|
1405
|
-
*/
|
|
1406
|
-
name: string;
|
|
1407
|
-
/**
|
|
1408
|
-
* The initial value of the state
|
|
1409
|
-
*/
|
|
1410
|
-
initialValue: boolean;
|
|
1411
|
-
/**
|
|
1412
|
-
* Optional JSDoc description for the state
|
|
1413
|
-
*/
|
|
1414
|
-
docs: string;
|
|
1415
|
-
}
|
|
1416
1451
|
/**
|
|
1417
1452
|
* Representation of JSDoc that is pulled off a node in the AST
|
|
1418
1453
|
*/
|
|
@@ -1424,44 +1459,7 @@ interface CompilerJsDoc {
|
|
|
1424
1459
|
/**
|
|
1425
1460
|
* Tags included in the JSDoc
|
|
1426
1461
|
*/
|
|
1427
|
-
tags:
|
|
1428
|
-
}
|
|
1429
|
-
/**
|
|
1430
|
-
* Representation of a tag that exists in a JSDoc
|
|
1431
|
-
*/
|
|
1432
|
-
interface CompilerJsDocTagInfo {
|
|
1433
|
-
/**
|
|
1434
|
-
* The name of the tag - e.g. `@deprecated`
|
|
1435
|
-
*/
|
|
1436
|
-
name: string;
|
|
1437
|
-
/**
|
|
1438
|
-
* Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
|
|
1439
|
-
*/
|
|
1440
|
-
text?: string;
|
|
1441
|
-
}
|
|
1442
|
-
/**
|
|
1443
|
-
* The (internal) representation of a CSS block comment in a CSS, Sass, etc. file. This data structure is used during
|
|
1444
|
-
* the initial compilation phases of Stencil, as a piece of {@link ComponentCompilerMeta}.
|
|
1445
|
-
*/
|
|
1446
|
-
interface CompilerStyleDoc {
|
|
1447
|
-
/**
|
|
1448
|
-
* The name of the CSS property
|
|
1449
|
-
*/
|
|
1450
|
-
name: string;
|
|
1451
|
-
/**
|
|
1452
|
-
* The user-defined description of the CSS property
|
|
1453
|
-
*/
|
|
1454
|
-
docs: string;
|
|
1455
|
-
/**
|
|
1456
|
-
* The JSDoc-style annotation (e.g. `@prop`) that was used in the block comment to detect the comment.
|
|
1457
|
-
* Used to inform Stencil where the start of a new property's description starts (and where the previous description
|
|
1458
|
-
* ends).
|
|
1459
|
-
*/
|
|
1460
|
-
annotation: 'prop';
|
|
1461
|
-
/**
|
|
1462
|
-
* The Stencil style-mode that is associated with this property.
|
|
1463
|
-
*/
|
|
1464
|
-
mode: string;
|
|
1462
|
+
tags: JsonDocsTag[];
|
|
1465
1463
|
}
|
|
1466
1464
|
interface CompilerAssetDir {
|
|
1467
1465
|
absolutePath?: string;
|
|
@@ -1546,28 +1544,6 @@ interface Module {
|
|
|
1546
1544
|
hasVdomXlink: boolean;
|
|
1547
1545
|
hasSignalsImport: boolean;
|
|
1548
1546
|
}
|
|
1549
|
-
interface Plugin$1 {
|
|
1550
|
-
name?: string;
|
|
1551
|
-
pluginType?: string;
|
|
1552
|
-
load?: (id: string, context: PluginCtx) => Promise<string> | string;
|
|
1553
|
-
resolveId?: (importee: string, importer: string, context: PluginCtx) => Promise<string> | string;
|
|
1554
|
-
transform?: (sourceText: string, id: string, context: PluginCtx) => Promise<PluginTransformResults> | PluginTransformResults;
|
|
1555
|
-
}
|
|
1556
|
-
type PluginTransformResults = PluginTransformationDescriptor | string | null;
|
|
1557
|
-
interface PluginTransformationDescriptor {
|
|
1558
|
-
code?: string;
|
|
1559
|
-
map?: string;
|
|
1560
|
-
id?: string;
|
|
1561
|
-
diagnostics?: Diagnostic[];
|
|
1562
|
-
dependencies?: string[];
|
|
1563
|
-
}
|
|
1564
|
-
interface PluginCtx {
|
|
1565
|
-
config: Config;
|
|
1566
|
-
sys: CompilerSystem;
|
|
1567
|
-
fs: InMemoryFileSystem;
|
|
1568
|
-
cache: Cache;
|
|
1569
|
-
diagnostics: Diagnostic[];
|
|
1570
|
-
}
|
|
1571
1547
|
interface PrerenderUrlResults {
|
|
1572
1548
|
anchorUrls: string[];
|
|
1573
1549
|
diagnostics: Diagnostic[];
|
|
@@ -1797,10 +1773,18 @@ interface StencilConfig {
|
|
|
1797
1773
|
* Will generate {@link https://nodejs.org/api/packages.html#packages_exports export map} entry points
|
|
1798
1774
|
* for each component in the build when `true`.
|
|
1799
1775
|
*
|
|
1800
|
-
*
|
|
1801
|
-
* whenever a config file is present - set this explicitly to opt an existing project in or out.
|
|
1776
|
+
* @default false
|
|
1802
1777
|
*/
|
|
1803
1778
|
generateExportMaps?: boolean;
|
|
1779
|
+
/**
|
|
1780
|
+
* Set to `false` to disable discovery of "CSS-only components" - pure-CSS custom-element
|
|
1781
|
+
* definitions marked with a `@component` JSDoc tag in `.css` files under `srcDir`. No JS
|
|
1782
|
+
* class, never registered via `customElements.define()` - just a documented,
|
|
1783
|
+
* type-checked tag name and its CSS custom properties/attribute variants.
|
|
1784
|
+
*
|
|
1785
|
+
* Defaults to `true`.
|
|
1786
|
+
*/
|
|
1787
|
+
enableCssOnlyComponents?: boolean;
|
|
1804
1788
|
/**
|
|
1805
1789
|
* The namespace config is a string representing a namespace for the app.
|
|
1806
1790
|
* For apps that are not meant to be a library of reusable components,
|
|
@@ -1822,7 +1806,7 @@ interface StencilConfig {
|
|
|
1822
1806
|
* property). By default, Stencil does not come with Sass or PostCSS support.
|
|
1823
1807
|
* However, either can be added using the plugin array.
|
|
1824
1808
|
*/
|
|
1825
|
-
plugins?: (Plugin
|
|
1809
|
+
plugins?: (Plugin | Plugin$1)[];
|
|
1826
1810
|
/**
|
|
1827
1811
|
* Generate js source map files for all bundles.
|
|
1828
1812
|
* Set to `true` to always generate source maps, `false` to never generate source maps.
|
|
@@ -1843,7 +1827,7 @@ interface StencilConfig {
|
|
|
1843
1827
|
*/
|
|
1844
1828
|
transformAliasedImportPaths?: boolean;
|
|
1845
1829
|
/**
|
|
1846
|
-
* Passes custom configuration
|
|
1830
|
+
* Passes custom configuration to Rolldown's module resolution (its `resolve` option), e.g. `alias`.
|
|
1847
1831
|
* For further information: https://stenciljs.com/docs/module-bundling
|
|
1848
1832
|
*/
|
|
1849
1833
|
nodeResolve?: NodeResolveConfig;
|
|
@@ -1948,8 +1932,8 @@ interface StencilConfig {
|
|
|
1948
1932
|
maxConcurrentWorkers?: number;
|
|
1949
1933
|
preamble?: string;
|
|
1950
1934
|
rolldownPlugins?: {
|
|
1951
|
-
before?: Plugin[];
|
|
1952
|
-
after?: Plugin[];
|
|
1935
|
+
before?: Plugin$1[];
|
|
1936
|
+
after?: Plugin$1[];
|
|
1953
1937
|
};
|
|
1954
1938
|
entryComponentsHint?: string[];
|
|
1955
1939
|
buildLogFilePath?: string;
|
|
@@ -2058,7 +2042,7 @@ type LightDomPatches = {
|
|
|
2058
2042
|
childNodes?: boolean;
|
|
2059
2043
|
/** Patches `cloneNode()` to correctly deep-clone slotted content. */
|
|
2060
2044
|
cloneNode?: boolean;
|
|
2061
|
-
/** Patches `appendChild()`, `insertBefore()`, and `removeChild()` to route to the correct slot. */
|
|
2045
|
+
/** Patches `appendChild()`, `insertBefore()`, and `removeChild()` to route to the correct slot, and the `innerHTML` / `innerText` setters to replace only slotted content. */
|
|
2062
2046
|
domMutations?: boolean;
|
|
2063
2047
|
/** Patches `textContent` to act like shadow DOM (reads/writes slotted text only). */
|
|
2064
2048
|
textContent?: boolean;
|
|
@@ -2123,11 +2107,6 @@ interface Config extends StencilConfig {
|
|
|
2123
2107
|
tsWatchOptions?: any;
|
|
2124
2108
|
_isValidated?: boolean;
|
|
2125
2109
|
_isTesting?: boolean;
|
|
2126
|
-
/**
|
|
2127
|
-
* Internal flag set when --docs CLI flag is used.
|
|
2128
|
-
* Forces docs output targets to build even in dev mode.
|
|
2129
|
-
*/
|
|
2130
|
-
_docsFlag?: boolean;
|
|
2131
2110
|
/**
|
|
2132
2111
|
* Whether running in a CI environment (disables interactive features, adjusts worker count)
|
|
2133
2112
|
*/
|
|
@@ -2378,7 +2357,8 @@ interface DevServerConfig extends StencilDevServerConfig {
|
|
|
2378
2357
|
* reloading updates.
|
|
2379
2358
|
*/
|
|
2380
2359
|
excludeHmr?: string[];
|
|
2381
|
-
|
|
2360
|
+
/** Serve `index` for page requests that match no file (single-page app routes). `null` turns it off. */
|
|
2361
|
+
historyApiFallback?: HistoryApiFallback | null;
|
|
2382
2362
|
openBrowser?: boolean;
|
|
2383
2363
|
prerenderConfig?: string;
|
|
2384
2364
|
protocol?: 'http' | 'https';
|
|
@@ -2562,6 +2542,16 @@ interface SsrDocumentOptions {
|
|
|
2562
2542
|
* Sets `document.referrer`
|
|
2563
2543
|
*/
|
|
2564
2544
|
referrer?: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* Render into one long-lived mock window, reset between renders, instead of creating a new one
|
|
2547
|
+
* for every call. Skips evaluating the whole SSR platform (runtime and every component)
|
|
2548
|
+
* on each render: most of the cost of rendering a small fragment, and a good part of a whole page.
|
|
2549
|
+
*
|
|
2550
|
+
* Applies to HTML string input (not a `Document`). One window per distinct `serializeShadowRoot` value,
|
|
2551
|
+
* and renders sharing a window run one at a time.
|
|
2552
|
+
* Defaults to `false`, except in the `ssr-wasm` output target, where it defaults to `true`.
|
|
2553
|
+
*/
|
|
2554
|
+
reuseWindow?: boolean;
|
|
2565
2555
|
/**
|
|
2566
2556
|
* Removes every `<script>` element found in the `document`. Defaults to `false`.
|
|
2567
2557
|
*/
|
|
@@ -2647,7 +2637,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
|
2647
2637
|
* Note that this is "approximate", in that HTML may often not be able
|
|
2648
2638
|
* to be split at an exact line width. Additionally, new lines created
|
|
2649
2639
|
* is where HTML naturally already has whitespace, such as before an
|
|
2650
|
-
* attribute or spaces between words. Defaults to `100
|
|
2640
|
+
* attribute or spaces between words. Defaults to no wrapping (`100` when prerendering).
|
|
2651
2641
|
*/
|
|
2652
2642
|
approximateLineWidth?: number;
|
|
2653
2643
|
/**
|
|
@@ -2665,12 +2655,12 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
|
2665
2655
|
prettyHtml?: boolean;
|
|
2666
2656
|
/**
|
|
2667
2657
|
* Remove quotes from attribute values when possible.
|
|
2668
|
-
* Defaults to `true
|
|
2658
|
+
* Defaults to `false` (`true` when prerendering).
|
|
2669
2659
|
*/
|
|
2670
2660
|
removeAttributeQuotes?: boolean;
|
|
2671
2661
|
/**
|
|
2672
2662
|
* Remove the `=""` from standardized `boolean` attributes,
|
|
2673
|
-
* such as `hidden` or `checked`. Defaults to `true
|
|
2663
|
+
* such as `hidden` or `checked`. Defaults to `false` (`true` when prerendering).
|
|
2674
2664
|
*/
|
|
2675
2665
|
removeBooleanAttributeQuotes?: boolean;
|
|
2676
2666
|
/**
|
|
@@ -2679,7 +2669,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
|
2679
2669
|
*/
|
|
2680
2670
|
removeEmptyAttributes?: boolean;
|
|
2681
2671
|
/**
|
|
2682
|
-
* Remove HTML comments. Defaults to `true
|
|
2672
|
+
* Remove HTML comments. Defaults to `false` (`true` when prerendering).
|
|
2683
2673
|
*/
|
|
2684
2674
|
removeHtmlComments?: boolean;
|
|
2685
2675
|
/**
|
|
@@ -2698,6 +2688,12 @@ interface SsrFactoryOptions extends SerializeDocumentOptions {
|
|
|
2698
2688
|
serializeToHtml: boolean;
|
|
2699
2689
|
destroyWindow: boolean;
|
|
2700
2690
|
destroyDocument: boolean;
|
|
2691
|
+
/**
|
|
2692
|
+
* A canonical key for `serializeShadowRoot`, set by the renderer. Renders with the same key
|
|
2693
|
+
* render every component the same way, so they can share an SSR platform.
|
|
2694
|
+
* @internal
|
|
2695
|
+
*/
|
|
2696
|
+
serializeShadowRootKey?: string;
|
|
2701
2697
|
}
|
|
2702
2698
|
/**
|
|
2703
2699
|
* Backwards compat for v4
|
|
@@ -2778,7 +2774,7 @@ interface CompilerSystem {
|
|
|
2778
2774
|
name: 'node' | 'in-memory';
|
|
2779
2775
|
version: string;
|
|
2780
2776
|
events?: BuildEvents;
|
|
2781
|
-
details
|
|
2777
|
+
details: SystemDetails;
|
|
2782
2778
|
/**
|
|
2783
2779
|
* Add a callback which will be ran when destroy() is called.
|
|
2784
2780
|
*/
|
|
@@ -2791,14 +2787,15 @@ interface CompilerSystem {
|
|
|
2791
2787
|
* SYNC! Always returns a boolean, does not throw.
|
|
2792
2788
|
*/
|
|
2793
2789
|
accessSync(p: string): boolean;
|
|
2794
|
-
applyGlobalPatch?(fromDir: string): Promise<void>;
|
|
2795
2790
|
applyPrerenderGlobalPatch?(opts: {
|
|
2796
2791
|
devServerHostUrl: string;
|
|
2797
2792
|
window: any;
|
|
2798
2793
|
}): void;
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2794
|
+
/**
|
|
2795
|
+
* Check npm for a newer Stencil version. Resolves a function that logs the result.
|
|
2796
|
+
*/
|
|
2797
|
+
checkVersion(logger: Logger, currentVersion: string): Promise<() => void>;
|
|
2798
|
+
copy(copyTasks: Required<CopyTask>[], srcDir: string): Promise<CopyResults>;
|
|
2802
2799
|
/**
|
|
2803
2800
|
* Always returns a boolean if the files were copied or not. Does not throw.
|
|
2804
2801
|
*/
|
|
@@ -2823,7 +2820,7 @@ interface CompilerSystem {
|
|
|
2823
2820
|
/**
|
|
2824
2821
|
* Each platform has a different way to dynamically import modules.
|
|
2825
2822
|
*/
|
|
2826
|
-
dynamicImport
|
|
2823
|
+
dynamicImport(p: string): Promise<any>;
|
|
2827
2824
|
/**
|
|
2828
2825
|
* Creates the worker controller for the current system.
|
|
2829
2826
|
*
|
|
@@ -2837,20 +2834,14 @@ interface CompilerSystem {
|
|
|
2837
2834
|
* process.exit()
|
|
2838
2835
|
*/
|
|
2839
2836
|
exit(exitCode: number): Promise<void>;
|
|
2840
|
-
/**
|
|
2841
|
-
* Optionally provide a fetch() function rather than using the built-in fetch().
|
|
2842
|
-
* First arg is a url string or Request object (RequestInfo).
|
|
2843
|
-
* Second arg is the RequestInit. Returns the Response object
|
|
2844
|
-
*/
|
|
2845
|
-
fetch?(input: string | any, init?: any): Promise<any>;
|
|
2846
2837
|
/**
|
|
2847
2838
|
* Generates a sha1 digest encoded as HEX
|
|
2848
2839
|
*/
|
|
2849
|
-
generateContentHash
|
|
2840
|
+
generateContentHash(content: string | any, length?: number): Promise<string>;
|
|
2850
2841
|
/**
|
|
2851
2842
|
* Generates a sha1 digest encoded as HEX from a file path
|
|
2852
2843
|
*/
|
|
2853
|
-
generateFileHash
|
|
2844
|
+
generateFileHash(filePath: string | any, length?: number): Promise<string>;
|
|
2854
2845
|
/**
|
|
2855
2846
|
* Get the current directory.
|
|
2856
2847
|
*/
|
|
@@ -2859,7 +2850,6 @@ interface CompilerSystem {
|
|
|
2859
2850
|
* The compiler's executing path.
|
|
2860
2851
|
*/
|
|
2861
2852
|
getCompilerExecutingPath(): string;
|
|
2862
|
-
getEnvironmentVar?(key: string): string;
|
|
2863
2853
|
/**
|
|
2864
2854
|
* Gets the absolute file path when for a dependency module.
|
|
2865
2855
|
*/
|
|
@@ -2898,11 +2888,7 @@ interface CompilerSystem {
|
|
|
2898
2888
|
* Normalize file system path.
|
|
2899
2889
|
*/
|
|
2900
2890
|
normalizePath(p: string): string;
|
|
2901
|
-
onProcessInterrupt
|
|
2902
|
-
parseYarnLockFile?: (content: string) => {
|
|
2903
|
-
type: 'success' | 'merge' | 'conflict';
|
|
2904
|
-
object: any;
|
|
2905
|
-
};
|
|
2891
|
+
onProcessInterrupt(cb: () => void): void;
|
|
2906
2892
|
platformPath: PlatformPath;
|
|
2907
2893
|
/**
|
|
2908
2894
|
* All return paths are full normalized paths, not just the basenames. Always returns an array, does not throw.
|
|
@@ -2938,6 +2924,9 @@ interface CompilerSystem {
|
|
|
2938
2924
|
* Rename old path to new path. Does not throw.
|
|
2939
2925
|
*/
|
|
2940
2926
|
rename(oldPath: string, newPath: string): Promise<CompilerSystemRenameResults>;
|
|
2927
|
+
/**
|
|
2928
|
+
* Assigned by the compiler. Used by plugins (e.g. `@stencil/sass`) to resolve `~` imports.
|
|
2929
|
+
*/
|
|
2941
2930
|
resolveModuleId?(opts: ResolveModuleIdOptions): Promise<ResolveModuleIdResults>;
|
|
2942
2931
|
resolvePath(p: string): string;
|
|
2943
2932
|
/**
|
|
@@ -3131,6 +3120,7 @@ interface CompilerBuildResults {
|
|
|
3131
3120
|
buildId: number;
|
|
3132
3121
|
componentGraph?: BuildResultsComponentGraph;
|
|
3133
3122
|
components: ComponentCompilerMeta[];
|
|
3123
|
+
cssOnlyComponents: ComponentCompilerMeta[];
|
|
3134
3124
|
diagnostics: Diagnostic[];
|
|
3135
3125
|
dirsAdded: string[];
|
|
3136
3126
|
dirsDeleted: string[];
|
|
@@ -3147,6 +3137,15 @@ interface CompilerBuildResults {
|
|
|
3147
3137
|
namespace: string;
|
|
3148
3138
|
fsNamespace: string;
|
|
3149
3139
|
outputs: BuildOutput[];
|
|
3140
|
+
/**
|
|
3141
|
+
* Absolute paths to every global stylesheet, in cascade order: each `global-style` output
|
|
3142
|
+
* target's compiled CSS in the order those targets are declared in `config.outputTargets` - or,
|
|
3143
|
+
* with none configured, the generated `{fsNamespace}.css` holding Stencil's auto-placed CSS (when
|
|
3144
|
+
* emitted). Unlike `outputs`, which groups files by type and sorts them alphabetically, this
|
|
3145
|
+
* preserves author-intended order for consumers like the dev-server's auto-generated component
|
|
3146
|
+
* preview.
|
|
3147
|
+
*/
|
|
3148
|
+
globalStyleFiles: string[];
|
|
3150
3149
|
rootDir: string;
|
|
3151
3150
|
srcDir: string;
|
|
3152
3151
|
timestamp: string;
|
|
@@ -3162,6 +3161,7 @@ interface HotModuleReplacement {
|
|
|
3162
3161
|
componentsUpdated?: string[];
|
|
3163
3162
|
excludeHmr?: string[];
|
|
3164
3163
|
externalStylesUpdated?: string[];
|
|
3164
|
+
globalStylesUpdated?: HmrGlobalStyleUpdate[];
|
|
3165
3165
|
imagesUpdated?: string[];
|
|
3166
3166
|
indexHtmlUpdated?: boolean;
|
|
3167
3167
|
inlineStylesUpdated?: HmrStyleUpdate[];
|
|
@@ -3176,6 +3176,15 @@ interface HmrStyleUpdate {
|
|
|
3176
3176
|
styleTag: string;
|
|
3177
3177
|
styleText: string;
|
|
3178
3178
|
}
|
|
3179
|
+
/**
|
|
3180
|
+
* A live-reload update for a `global-style` output target's CSS. Applied on
|
|
3181
|
+
* the client by matching `fileName` against the `<link>` that loads it and
|
|
3182
|
+
* inserting/updating an adjacent `<style>` override
|
|
3183
|
+
*/
|
|
3184
|
+
interface HmrGlobalStyleUpdate {
|
|
3185
|
+
fileName: string;
|
|
3186
|
+
styleText: string;
|
|
3187
|
+
}
|
|
3179
3188
|
type BuildOnEventRemove = () => boolean;
|
|
3180
3189
|
interface BuildEvents extends BuildOnEvents, BuildEmitEvents {
|
|
3181
3190
|
unsubscribeAll(): void;
|
|
@@ -3330,7 +3339,9 @@ interface CopyTask {
|
|
|
3330
3339
|
/**
|
|
3331
3340
|
* Additional glob patterns to exclude from the copy operation, merged with
|
|
3332
3341
|
* the built-in defaults: `__mocks__`, `__fixtures__`, `dist`, hidden dirs,
|
|
3333
|
-
* `.ds_store`, `.gitignore`, `desktop.ini`, `thumbs.db`.
|
|
3342
|
+
* `.ds_store`, `.gitignore`, `desktop.ini`, `thumbs.db`. For a directory
|
|
3343
|
+
* `src`, patterns match paths relative to that directory; an explicitly
|
|
3344
|
+
* named `src` file is never ignored.
|
|
3334
3345
|
*/
|
|
3335
3346
|
ignore?: string[];
|
|
3336
3347
|
/**
|
|
@@ -3568,7 +3579,7 @@ interface OutputTargetCollection extends OutputTargetBaseNext {
|
|
|
3568
3579
|
* When `true` this flag will transform aliased import paths defined in
|
|
3569
3580
|
* a project's `tsconfig.json` to relative import paths in the compiled output.
|
|
3570
3581
|
*
|
|
3571
|
-
* Paths will be left in aliased format if `false
|
|
3582
|
+
* Paths will be left in aliased format if `false`. Defaults to `true`.
|
|
3572
3583
|
*
|
|
3573
3584
|
* @example
|
|
3574
3585
|
* // tsconfig.json
|
|
@@ -3670,11 +3681,11 @@ interface OutputTargetGlobalStyle extends OutputTargetBaseNext {
|
|
|
3670
3681
|
* Controls whether this global stylesheet is injected into component shadow DOMs
|
|
3671
3682
|
* as a constructable stylesheet at runtime.
|
|
3672
3683
|
*
|
|
3673
|
-
* - `'none'
|
|
3684
|
+
* - `'none'`: Don't inject - stylesheet must be loaded externally (e.g., via `<link>`)
|
|
3674
3685
|
* - `'client'`: Inject only in client builds, not SSR (reduces SSR output size)
|
|
3675
3686
|
* - `'all'`: Inject in both client and SSR builds
|
|
3676
3687
|
*
|
|
3677
|
-
* @default 'none'
|
|
3688
|
+
* @default 'client' when the stylesheet comes from `globalStyle` (or an auto-detected `src/global.*`), 'none' when `input` is set
|
|
3678
3689
|
*/
|
|
3679
3690
|
inject?: 'none' | 'client' | 'all';
|
|
3680
3691
|
}
|
|
@@ -3732,6 +3743,10 @@ interface OutputTargetSsr extends OutputTargetBase {
|
|
|
3732
3743
|
*/
|
|
3733
3744
|
cjs?: boolean;
|
|
3734
3745
|
}
|
|
3746
|
+
/**
|
|
3747
|
+
* Compiles the SSR hydrate app to a WASM plugin (via `extism-js`/QuickJS-ng) that can run
|
|
3748
|
+
* outside of Node
|
|
3749
|
+
*/
|
|
3735
3750
|
interface OutputTargetSsrWasm extends OutputTargetBase {
|
|
3736
3751
|
type: 'ssr-wasm';
|
|
3737
3752
|
/** Output directory. @default 'dist/ssr-wasm' */
|
|
@@ -3842,9 +3857,11 @@ interface OutputTargetDocsCustomElementsManifest extends OutputTargetBase {
|
|
|
3842
3857
|
type: 'docs-custom-elements-manifest';
|
|
3843
3858
|
/**
|
|
3844
3859
|
* The file path where the custom-elements.json manifest will be written.
|
|
3845
|
-
* Defaults to 'custom-elements.json'
|
|
3860
|
+
* Defaults to 'dist/custom-elements.json'.
|
|
3861
|
+
*
|
|
3862
|
+
* The `customElements` field of the project's `package.json` is set to this path.
|
|
3846
3863
|
*/
|
|
3847
|
-
file
|
|
3864
|
+
file?: string;
|
|
3848
3865
|
strict?: boolean;
|
|
3849
3866
|
}
|
|
3850
3867
|
interface OutputTargetDocsCustom extends OutputTargetBase {
|
|
@@ -3869,7 +3886,7 @@ interface OutputTargetDocsAgentSkill extends OutputTargetBase {
|
|
|
3869
3886
|
/**
|
|
3870
3887
|
* The skill's name, used in the `SKILL.md` frontmatter.
|
|
3871
3888
|
*
|
|
3872
|
-
* Defaults to
|
|
3889
|
+
* Defaults to {@link Config.namespace}, lowercased, with anything other than letters and numbers replaced by `-`.
|
|
3873
3890
|
*/
|
|
3874
3891
|
name?: string;
|
|
3875
3892
|
/**
|
|
@@ -3932,10 +3949,8 @@ interface OutputTargetStandalone extends OutputTargetBaseNext {
|
|
|
3932
3949
|
type: 'standalone';
|
|
3933
3950
|
empty?: boolean;
|
|
3934
3951
|
/**
|
|
3935
|
-
*
|
|
3936
|
-
*
|
|
3937
|
-
* 2. File names are not hashed.
|
|
3938
|
-
* 3. File minification will follow the behavior defined at the root of the Stencil config.
|
|
3952
|
+
* When `true`, all `@stencil/core/*` module references are treated as external
|
|
3953
|
+
* during bundling rather than being included in the generated output.
|
|
3939
3954
|
*
|
|
3940
3955
|
* @default false
|
|
3941
3956
|
*/
|
|
@@ -3999,8 +4014,10 @@ interface OutputTargetBase {
|
|
|
3999
4014
|
* This improves dev build times by not generating production-only artifacts.
|
|
4000
4015
|
*
|
|
4001
4016
|
* Defaults vary by output target type:
|
|
4002
|
-
* - `loader-bundle`: `
|
|
4003
|
-
* - `standalone`: `true`
|
|
4017
|
+
* - `loader-bundle`: `true` (skips the npm distribution files; the browser bundle always builds)
|
|
4018
|
+
* - `standalone`: `true` if `loader-bundle` is also configured, otherwise `false`
|
|
4019
|
+
* - `types`, `collection`, `ssr-wasm`: `true` (skips in dev)
|
|
4020
|
+
* - `assets`, `global-style`: `false` (always runs)
|
|
4004
4021
|
* - `ssr`: `true` (skips in dev, unless `devServer.ssr` is enabled)
|
|
4005
4022
|
* - `docs-*`: `true` (skips in dev)
|
|
4006
4023
|
* - `custom`: `true` (skips in dev)
|
|
@@ -4195,10 +4212,6 @@ interface Diagnostic {
|
|
|
4195
4212
|
relFilePath?: string | undefined;
|
|
4196
4213
|
type: string;
|
|
4197
4214
|
}
|
|
4198
|
-
interface CacheStorage {
|
|
4199
|
-
get(key: string): Promise<any>;
|
|
4200
|
-
set(key: string, value: any): Promise<void>;
|
|
4201
|
-
}
|
|
4202
4215
|
interface WorkerOptions {
|
|
4203
4216
|
maxConcurrentWorkers?: number;
|
|
4204
4217
|
maxConcurrentTasksPerWorker?: number;
|
|
@@ -4460,13 +4473,19 @@ interface TranspileOptions {
|
|
|
4460
4473
|
* that the specified flags take effect for this component at runtime.
|
|
4461
4474
|
*/
|
|
4462
4475
|
buildOverrides?: BuildOverrides;
|
|
4476
|
+
/**
|
|
4477
|
+
* When `true`, a `.css`/`.scss` transpile also collects CSS custom-property docs
|
|
4478
|
+
* onto {@link TranspileResults.styleDocs}. Off by default, since it costs an extra parse
|
|
4479
|
+
* of the style text.
|
|
4480
|
+
*/
|
|
4481
|
+
docs?: boolean;
|
|
4463
4482
|
}
|
|
4464
4483
|
/**
|
|
4465
4484
|
* Keys of {@link BuildConditionals} that can be meaningfully overridden at
|
|
4466
4485
|
* transpile time — config-driven flags that are not derived from component
|
|
4467
4486
|
* scanning or runtime environment detection.
|
|
4468
4487
|
*/
|
|
4469
|
-
type BuildOverrideKeys = 'hotModuleReplacement' | 'signalBacking' | 'vdomSignals' | 'lightDomPatches' | 'slotChildNodes' | 'slotCloneNode' | 'slotDomMutations' | 'slotTextContent' | 'lifecycleDOMEvents' | 'initializeNextTick';
|
|
4488
|
+
type BuildOverrideKeys = 'isDev' | 'isTesting' | 'hotModuleReplacement' | 'signalBacking' | 'vdomSignals' | 'lightDomPatches' | 'slotChildNodes' | 'slotCloneNode' | 'slotDomMutations' | 'slotTextContent' | 'lifecycleDOMEvents' | 'initializeNextTick';
|
|
4470
4489
|
/**
|
|
4471
4490
|
* Subset of Stencil's BUILD feature flags that can be overridden at transpile
|
|
4472
4491
|
* time. Derived from {@link BuildConditionals} via `Pick` so the field list
|
|
@@ -4485,6 +4504,7 @@ interface TranspileResults {
|
|
|
4485
4504
|
inputFilePath: string;
|
|
4486
4505
|
map: any;
|
|
4487
4506
|
outputFilePath: string;
|
|
4507
|
+
styleDocs?: StyleDoc[];
|
|
4488
4508
|
}
|
|
4489
4509
|
interface TransformOptions {
|
|
4490
4510
|
coreImportPath: string;
|
|
@@ -4528,5 +4548,30 @@ interface CliInitOptions {
|
|
|
4528
4548
|
logger: Logger;
|
|
4529
4549
|
sys: CompilerSystem;
|
|
4530
4550
|
}
|
|
4551
|
+
/**
|
|
4552
|
+
* A Stencil `resolveId`/`load`/`transform` plugin, as accepted by {@link StencilConfig.plugins}.
|
|
4553
|
+
*/
|
|
4554
|
+
interface Plugin {
|
|
4555
|
+
name?: string;
|
|
4556
|
+
pluginType?: string;
|
|
4557
|
+
load?: (id: string, context: PluginCtx) => Promise<string> | string;
|
|
4558
|
+
resolveId?: (importee: string, importer: string, context: PluginCtx) => Promise<string> | string;
|
|
4559
|
+
transform?: (sourceText: string, id: string, context: PluginCtx) => Promise<PluginTransformResults> | PluginTransformResults;
|
|
4560
|
+
}
|
|
4561
|
+
type PluginTransformResults = PluginTransformationDescriptor | string | null;
|
|
4562
|
+
interface PluginTransformationDescriptor {
|
|
4563
|
+
code?: string;
|
|
4564
|
+
map?: string;
|
|
4565
|
+
id?: string;
|
|
4566
|
+
diagnostics?: Diagnostic[];
|
|
4567
|
+
dependencies?: string[];
|
|
4568
|
+
}
|
|
4569
|
+
interface PluginCtx {
|
|
4570
|
+
config: Config;
|
|
4571
|
+
sys: CompilerSystem;
|
|
4572
|
+
fs: InMemoryFileSystem;
|
|
4573
|
+
cache: Cache;
|
|
4574
|
+
diagnostics: Diagnostic[];
|
|
4575
|
+
}
|
|
4531
4576
|
//#endregion
|
|
4532
|
-
export { AutoprefixerOptions, BuildEmitEvents, BuildEvents, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph,
|
|
4577
|
+
export { AutoprefixerOptions, BuildEmitEvents, BuildEvents, BuildLog, BuildNoChangeResults, BuildOnEventRemove, BuildOnEvents, BuildOutput, BuildOverrides, BuildResultsComponentGraph, CliInitOptions, CompileScriptMinifyOptions, CompileTarget, Compiler, CompilerBuildResults, CompilerBuildStart, CompilerDependency, CompilerEventBuildFinish, CompilerEventBuildLog, CompilerEventBuildNoChange, CompilerEventBuildStart, CompilerEventDirAdd, CompilerEventDirDelete, CompilerEventFileAdd, CompilerEventFileDelete, CompilerEventFileUpdate, CompilerEventFsChange, CompilerEventName, CompilerFileWatcher, CompilerFileWatcherCallback, CompilerFileWatcherEvent, CompilerFsStats, CompilerRequest, CompilerRequestResponse, CompilerSystem, CompilerSystemCreateDirectoryOptions, CompilerSystemCreateDirectoryResults, CompilerSystemRealpathResults, CompilerSystemRemoveDirectoryOptions, CompilerSystemRemoveDirectoryResults, CompilerSystemRemoveFileResults, CompilerSystemRenameResults, CompilerSystemRenamedPath, CompilerSystemWriteFileResults, CompilerWatcher, Config, ConfigBundle, ConfigCompat, CopyResults, CopyTask, Credentials, CustomElementsExportBehavior, CustomElementsExportBehaviorOptions, DevServer, DevServerConfig, DevServerEditor, Diagnostic, DocsReadmeCustomColumn, FsWatchResults, HistoryApiFallback, HmrGlobalStyleUpdate, HmrStyleUpdate, HotModuleReplacement, HydrateDocumentOptions, HydrateFactoryOptions, HydratedFlag, JsonDocMethodParameter, JsonDocs, JsonDocsComponent, JsonDocsCustomState, JsonDocsDependencyGraph, JsonDocsEvent, JsonDocsListener, JsonDocsMethod, JsonDocsMethodReturn, JsonDocsPart, JsonDocsProp, JsonDocsSlot, JsonDocsStyle, JsonDocsTag, JsonDocsTypeLibrary, JsonDocsUsage, JsonDocsValue, LOG_LEVELS, LazyRequire, LightDomPatches, LoadConfigInit, LoadConfigResults, LogLevel, Logger, LoggerLineUpdater, LoggerTimeSpan, ModeConfig, NodeResolveConfig, OptimizeCssInput, OptimizeCssOutput, OptimizeJsInput, OptimizeJsOutput, OutputTarget, OutputTargetAssets, OutputTargetBase, OutputTargetBaseNext, OutputTargetBuild, OutputTargetCollection, OutputTargetCopy, OutputTargetCustom, OutputTargetDistLazy, OutputTargetDocsAgentSkill, OutputTargetDocsCustom, OutputTargetDocsCustomElementsManifest, OutputTargetDocsJson, OutputTargetDocsReadme, OutputTargetDocsVscode, OutputTargetGlobalStyle, OutputTargetLoaderBundle, OutputTargetSsr, OutputTargetSsrWasm, OutputTargetStandalone, OutputTargetStats, OutputTargetTypes, OutputTargetWww, PageReloadStrategy, ParsedPath, PlatformPath, Plugin, PluginCtx, PluginTransformResults, PrerenderConfig, PrerenderHydrateOptions, PrerenderOptions, PrerenderResults, PrerenderStartOptions, ResolveModuleIdOptions, ResolveModuleIdResults, ResolveModuleOptions, RobotsTxtOpts, RobotsTxtResults, RolldownConfig, SerializeDocumentOptions, ServiceWorkerConfig, SitemapXmpOpts, SitemapXmpResults, SsrDocumentOptions, SsrFactoryOptions, StencilConfig, StencilDevServerConfig, StencilDocsConfig, StyleDoc, SystemDetails, TransformOptions, TranspileOnlyResults, TranspileOptions, TranspileResults, UnvalidatedConfig, ValidatedConfig, ValidatedOutputTargetWww, WatcherCloseResults, WorkerMainController, WorkerOptions };
|