@ms-cloudpack/common-types 0.21.1 → 0.22.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/lib/BundleResult.d.ts +2 -2
- package/lib/BundleResult.d.ts.map +1 -1
- package/lib/BundleResult.js.map +1 -1
- package/lib/{BundlerPlugin.d.ts → Bundler.d.ts} +4 -4
- package/lib/Bundler.d.ts.map +1 -0
- package/lib/Bundler.js +2 -0
- package/lib/Bundler.js.map +1 -0
- package/lib/{BundlerPluginResult.d.ts → BundlerResult.d.ts} +4 -4
- package/lib/BundlerResult.d.ts.map +1 -0
- package/lib/BundlerResult.js +2 -0
- package/lib/BundlerResult.js.map +1 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/schema/AppConfig.json +1 -1
- package/schema/GeneratedConfig.json +1 -1
- package/schema/UserConfig.json +1 -1
- package/schema/UserPreferences.json +1 -1
- package/lib/BundlerPlugin.d.ts.map +0 -1
- package/lib/BundlerPlugin.js +0 -2
- package/lib/BundlerPlugin.js.map +0 -1
- package/lib/BundlerPluginResult.d.ts.map +0 -1
- package/lib/BundlerPluginResult.js +0 -2
- package/lib/BundlerPluginResult.js.map +0 -1
package/lib/BundleResult.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BundlerResult } from './BundlerResult.js';
|
|
2
2
|
/**
|
|
3
3
|
* Final bundle result as returned by `bundle()` in `@ms-cloudpack/bundler`.
|
|
4
4
|
*/
|
|
5
|
-
export interface BundleResult extends Omit<
|
|
5
|
+
export interface BundleResult extends Omit<BundlerResult, 'rebuild' | 'rawInput' | 'rawOutput'> {
|
|
6
6
|
/**
|
|
7
7
|
* The name of the bundler used. Will be set unless there was an error with the options.
|
|
8
8
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleResult.d.ts","sourceRoot":"","sources":["../src/BundleResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"BundleResult.d.ts","sourceRoot":"","sources":["../src/BundleResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;GAEG;AAGH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,GAAG,UAAU,GAAG,WAAW,CAAC;IAC7F;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,CAAC;CACvC"}
|
package/lib/BundleResult.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleResult.js","sourceRoot":"","sources":["../src/BundleResult.ts"],"names":[],"mappings":"","sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"BundleResult.js","sourceRoot":"","sources":["../src/BundleResult.ts"],"names":[],"mappings":"","sourcesContent":["import type { BundlerResult } from './BundlerResult.js';\n\n/**\n * Final bundle result as returned by `bundle()` in `@ms-cloudpack/bundler`.\n */\n// rawInput and rawOutput are intentionally removed.\n// rebuild is wrapped to return a full BundleResult.\nexport interface BundleResult extends Omit<BundlerResult, 'rebuild' | 'rawInput' | 'rawOutput'> {\n /**\n * The name of the bundler used. Will be set unless there was an error with the options.\n */\n bundler?: string;\n\n /**\n * @deprecated Replaced by `bundler`.\n *\n * This and the translation code in `readResultFromCache` should be removed sometime when\n * we have to bump the hash version.\n */\n bundlerName?: string;\n\n /**\n * The absolute input path of the entries.\n */\n inputPath: string;\n\n /**\n * The entry file paths map used to create the bundle output. See `BundleOptions.entries`.\n */\n entries?: Record<string, string>;\n\n /**\n * If incremental bundling is specified, provide a way to rebuild the project.\n */\n rebuild?: () => Promise<BundleResult>;\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BundleContext } from './BundleContext.js';
|
|
2
2
|
import type { BundleOptions } from './BundleOptions.js';
|
|
3
|
-
import type {
|
|
4
|
-
export interface
|
|
3
|
+
import type { BundlerResult } from './BundlerResult.js';
|
|
4
|
+
export interface Bundler {
|
|
5
5
|
name: string;
|
|
6
|
-
bundle: (options: BundleOptions, context: BundleContext) => Promise<
|
|
6
|
+
bundle: (options: BundleOptions, context: BundleContext) => Promise<BundlerResult>;
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=Bundler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bundler.d.ts","sourceRoot":"","sources":["../src/Bundler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;CACpF"}
|
package/lib/Bundler.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bundler.js","sourceRoot":"","sources":["../src/Bundler.ts"],"names":[],"mappings":"","sourcesContent":["import type { BundleContext } from './BundleContext.js';\nimport type { BundleOptions } from './BundleOptions.js';\nimport type { BundlerResult } from './BundlerResult.js';\n\nexport interface Bundler {\n name: string;\n bundle: (options: BundleOptions, context: BundleContext) => Promise<BundlerResult>;\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BundleMessage } from './BundleMessage.js';
|
|
2
2
|
import type { BundleOutputFile } from './BundleOutputFile.js';
|
|
3
3
|
/**
|
|
4
|
-
* Result returned by a bundler plugin (`
|
|
4
|
+
* Result returned by a bundler plugin (`Bundler#bundle()`).
|
|
5
5
|
* Excludes properties that can be filled in automatically.
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface BundlerResult {
|
|
8
8
|
/**
|
|
9
9
|
* The absolute output path of the bundle.
|
|
10
10
|
*/
|
|
@@ -34,10 +34,10 @@ export interface BundlerPluginResult {
|
|
|
34
34
|
/**
|
|
35
35
|
* If incremental bundling is specified, provide a way to rebuild the project.
|
|
36
36
|
*/
|
|
37
|
-
rebuild?: () => Promise<
|
|
37
|
+
rebuild?: () => Promise<BundlerResult>;
|
|
38
38
|
/**
|
|
39
39
|
* If incremental bundling is specified, provide a way to shut down the incremental build job.
|
|
40
40
|
*/
|
|
41
41
|
dispose?: () => void;
|
|
42
42
|
}
|
|
43
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=BundlerResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BundlerResult.d.ts","sourceRoot":"","sources":["../src/BundlerResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BundlerResult.js","sourceRoot":"","sources":["../src/BundlerResult.ts"],"names":[],"mappings":"","sourcesContent":["import type { BundleMessage } from './BundleMessage.js';\nimport type { BundleOutputFile } from './BundleOutputFile.js';\n\n/**\n * Result returned by a bundler plugin (`Bundler#bundle()`).\n * Excludes properties that can be filled in automatically.\n */\n\nexport interface BundlerResult {\n /**\n * The absolute output path of the bundle.\n */\n outputPath?: string;\n\n /**\n * The output files produced by bundling.\n */\n outputFiles?: BundleOutputFile[];\n\n /**\n * Errors encountered during bundling.\n */\n errors?: BundleMessage[];\n\n /**\n * Warnings encountered during bundling.\n */\n warnings?: BundleMessage[];\n\n /**\n * The raw input options passed along into the bundler, for debugging purposes.\n * May be missing if something prevented executing the bundler.\n */\n rawInput?: Record<string, unknown>;\n\n /**\n * The raw output emitted from the bundler, for debugging purposes.\n * May be missing if something prevented the bundler from returning output.\n */\n rawOutput?: Record<string, unknown>;\n\n /**\n * If incremental bundling is specified, provide a way to rebuild the project.\n */\n rebuild?: () => Promise<BundlerResult>;\n\n /**\n * If incremental bundling is specified, provide a way to shut down the incremental build job.\n */\n dispose?: () => void;\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export type { BundleMode } from './BundleMode.js';
|
|
|
9
9
|
export type { BundleOptions } from './BundleOptions.js';
|
|
10
10
|
export type { BundleOutputFile } from './BundleOutputFile.js';
|
|
11
11
|
export type { BundleResult } from './BundleResult.js';
|
|
12
|
-
export type {
|
|
13
|
-
export type {
|
|
12
|
+
export type { BundlerResult } from './BundlerResult.js';
|
|
13
|
+
export type { Bundler } from './Bundler.js';
|
|
14
14
|
export type { CloudpackConfig } from './CloudpackConfig.js';
|
|
15
15
|
export type { ServerConfig } from './ServerConfig.js';
|
|
16
16
|
export type { ExpandedSourcePath } from './ExpandedSourcePath.js';
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACV,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,EACjC,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,eAAe,EACf,WAAW,EACX,uBAAuB,EACvB,0BAA0B,EAC1B,kBAAkB,EAClB,wBAAwB,EACxB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAC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[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAkD/C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,eAAe,EACf,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,YAAY,CAAC","sourcesContent":["export { allFeatures } from './allFeatures.js';\nexport type {\n GetPackageDefinitionOptions,\n PackageDefinitionTransform,\n PackageDefinitionTransformFactory,\n PackageDefinitionsCache,\n PackageImporterContext,\n} from './PackageDefinitionsCache.js';\nexport type {\n LiteralOrString,\n PackageJson,\n PackageJsonDependencies,\n PackageJsonExportCondition,\n PackageJsonExports,\n PackageJsonExportsObject,\n PackageJsonExportsValue,\n PackageJsonImports,\n} from './PackageJson.js';\nexport type { BundleContext } from './BundleContext.js';\nexport type { BundleMessage } from './BundleMessage.js';\nexport type { BundleMessageLocation } from './BundleMessageLocation.js';\nexport type { BundleMessageNote } from './BundleMessageNote.js';\nexport type { BundleMode } from './BundleMode.js';\nexport type { BundleOptions } from './BundleOptions.js';\nexport type { BundleOutputFile } from './BundleOutputFile.js';\nexport type { BundleResult } from './BundleResult.js';\nexport type {
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAkD/C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,eAAe,EACf,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,YAAY,CAAC","sourcesContent":["export { allFeatures } from './allFeatures.js';\nexport type {\n GetPackageDefinitionOptions,\n PackageDefinitionTransform,\n PackageDefinitionTransformFactory,\n PackageDefinitionsCache,\n PackageImporterContext,\n} from './PackageDefinitionsCache.js';\nexport type {\n LiteralOrString,\n PackageJson,\n PackageJsonDependencies,\n PackageJsonExportCondition,\n PackageJsonExports,\n PackageJsonExportsObject,\n PackageJsonExportsValue,\n PackageJsonImports,\n} from './PackageJson.js';\nexport type { BundleContext } from './BundleContext.js';\nexport type { BundleMessage } from './BundleMessage.js';\nexport type { BundleMessageLocation } from './BundleMessageLocation.js';\nexport type { BundleMessageNote } from './BundleMessageNote.js';\nexport type { BundleMode } from './BundleMode.js';\nexport type { BundleOptions } from './BundleOptions.js';\nexport type { BundleOutputFile } from './BundleOutputFile.js';\nexport type { BundleResult } from './BundleResult.js';\nexport type { BundlerResult } from './BundlerResult.js';\nexport type { Bundler } from './Bundler.js';\nexport type { CloudpackConfig } from './CloudpackConfig.js';\nexport type { ServerConfig } from './ServerConfig.js';\nexport type { ExpandedSourcePath } from './ExpandedSourcePath.js';\nexport type { Feature } from './Feature.js';\nexport type { Features } from './Features.js';\nexport type { GeneratedConfig } from './GeneratedConfig.js';\nexport type { HttpsConfig } from './HttpsConfig.js';\nexport type { LinkOptions } from './LinkOptions.js';\nexport type { ModuleType } from './ModuleType.js';\nexport type { PackageHashesCache, PackageHashOptions } from './PackageHashesCache.js';\nexport type { PackageSettings, PackageSettingsMatch, GeneratedPackageSettings } from './PackageSettings.js';\nexport type {\n BootstrapRoute,\n RedirectRoute,\n RenderedRoute,\n Route,\n SharedRouteOptions,\n ShorthandRenderedRoute,\n ShorthandBootstrapRoute,\n ShorthandRoute,\n StaticRoute,\n} from './Route.js';\nexport {\n isBootstrapRoute,\n isRenderedRoute,\n isStaticRoute,\n isRedirectRoute,\n isShorthandBootstrapRoute,\n isShorthandRenderedRoute,\n} from './Route.js';\nexport type { TelemetryConfig } from './TelemetryConfig.js';\nexport type { AppConfig } from './AppConfig.js';\nexport type {\n InternalBundlerCapabilityImplementations,\n InternalBundlerCapabilitiesMetaData,\n BundlerCapabilitiesOptions,\n ExternalBundlerCapabilityModule,\n BundlerCapabilityFunction,\n} from './BundlerCapability.js';\nexport type { RemoteCacheConfig } from './RemoteCacheConfig.js';\nexport type {\n RenderFunction,\n RenderFunctionOptions,\n RenderFunctionResult,\n ExpandedRenderFunctionResult,\n RenderFunctionScript,\n} from './RenderFunction.js';\nexport type { Request, Response } from 'express';\nexport type { Session } from './Session.js';\nexport type { ResolveMap } from './ResolveMap.js';\nexport type { ResolveMapEntry } from './ResolveMapEntry.js';\nexport type { LinkedPath } from './LinkedPath.js';\nexport type { ImportMap } from './ImportMap.js';\nexport type { UserPreferences } from './UserPreferences.js';\n"]}
|
package/package.json
CHANGED
package/schema/AppConfig.json
CHANGED
package/schema/UserConfig.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BundlerPlugin.d.ts","sourceRoot":"","sources":["../src/BundlerPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;CAC1F"}
|
package/lib/BundlerPlugin.js
DELETED
package/lib/BundlerPlugin.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BundlerPlugin.js","sourceRoot":"","sources":["../src/BundlerPlugin.ts"],"names":[],"mappings":"","sourcesContent":["import type { BundleContext } from './BundleContext.js';\nimport type { BundleOptions } from './BundleOptions.js';\nimport type { BundlerPluginResult } from './BundlerPluginResult.js';\n\nexport interface BundlerPlugin {\n name: string;\n bundle: (options: BundleOptions, context: BundleContext) => Promise<BundlerPluginResult>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BundlerPluginResult.d.ts","sourceRoot":"","sources":["../src/BundlerPluginResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;;GAGG;AAEH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAE7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BundlerPluginResult.js","sourceRoot":"","sources":["../src/BundlerPluginResult.ts"],"names":[],"mappings":"","sourcesContent":["import type { BundleMessage } from './BundleMessage.js';\nimport type { BundleOutputFile } from './BundleOutputFile.js';\n\n/**\n * Result returned by a bundler plugin (`BundlerPlugin#bundle()`).\n * Excludes properties that can be filled in automatically.\n */\n\nexport interface BundlerPluginResult {\n /**\n * The absolute output path of the bundle.\n */\n outputPath?: string;\n\n /**\n * The output files produced by bundling.\n */\n outputFiles?: BundleOutputFile[];\n\n /**\n * Errors encountered during bundling.\n */\n errors?: BundleMessage[];\n\n /**\n * Warnings encountered during bundling.\n */\n warnings?: BundleMessage[];\n\n /**\n * The raw input options passed along into the bundler, for debugging purposes.\n * May be missing if something prevented executing the bundler.\n */\n rawInput?: Record<string, unknown>;\n\n /**\n * The raw output emitted from the bundler, for debugging purposes.\n * May be missing if something prevented the bundler from returning output.\n */\n rawOutput?: Record<string, unknown>;\n\n /**\n * If incremental bundling is specified, provide a way to rebuild the project.\n */\n rebuild?: () => Promise<BundlerPluginResult>;\n\n /**\n * If incremental bundling is specified, provide a way to shut down the incremental build job.\n */\n dispose?: () => void;\n}\n"]}
|