@ms-cloudpack/config
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -0,4 +1,4 @@ | ||
export { configFileName, generatedConfigFileName, getConfigPath, readConfig, readConfigSync, writeGeneratedConfig, } from './config.js'; | ||
export { configTemplate } from './configTemplate.js'; | ||
export { configFileName, generatedConfigFileName, getConfigPath, readConfig, readConfigSync, writeGeneratedConfig, } from './config.js'; | ||
export type { CloudpackConfig, DevServer, PackageOverride, Route, TelemetryConfig } from './types.js'; | ||
export type { CloudpackConfig, DevServer, Features, GeneratedConfig, PackageOverride, Route, TelemetryConfig, UserConfig, } from './types.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -0,3 +1,3 @@ | ||
export { configFileName, generatedConfigFileName, getConfigPath, readConfig, readConfigSync, writeGeneratedConfig, } from './config.js'; | ||
export { configTemplate } from './configTemplate.js'; | ||
export { configFileName, generatedConfigFileName, getConfigPath, readConfig, readConfigSync, writeGeneratedConfig, } from './config.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -72,2 +72,17 @@ import type { PackageJson } from '@ms-cloudpack/bundler-types'; | ||
/** | ||
* A set of options for configuring the experience. Features can be set to true to change the default | ||
* behavior. | ||
*/ | ||
export interface Features { | ||
/** | ||
* If true, no source maps will be generated for any bundles produced. This might be useful if sourcemap | ||
* generation causes performance issues. | ||
*/ | ||
disableSourceMaps?: boolean; | ||
/** | ||
* If true, bundle server will queue up bundle requests for dependencies of bundle output | ||
*/ | ||
enqueueDependencies?: boolean; | ||
} | ||
/** | ||
* Per-application user-provided configuration for Cloudpack. | ||
@@ -88,9 +103,3 @@ */ | ||
*/ | ||
features?: { | ||
/** | ||
* If true, no source maps will be generated for any bundles produced. This might be useful if sourcemap | ||
* generation causes performance issues. | ||
*/ | ||
disableSourceMaps?: boolean; | ||
}; | ||
features?: Features; | ||
} | ||
@@ -97,0 +106,0 @@ /** |
{ | ||
"name": "@ms-cloudpack/config", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Configuration handling for cloudpack.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21931
247