import type { Feature } from './Feature.js'; /** * Represents all features that can be enabled or disabled for Cloudpack. */ export type Features = { [key in keyof typeof allFeatures]?: boolean; }; /** * All valid feature names. */ export type FeatureName = keyof typeof allFeatures; /** * A set of options for configuring the experience. * Features can be set to true to change the default behavior. */ export declare const allFeatures: { /** Automatically updates the generated config when an unknown import path is used during start (default: true). */ autoUpdateEntries: Feature; /** Disables the generation of source-maps during build. */ disableSourceMaps: Feature; /** Enabled cloud-hosted application */ enableCloudHosted: Feature; /** * Enables support of import maps for workers. * To use this feature, the package with the worker must be bundled with webpack (default: true). */ enableModuleWorkers: Feature; /** Enables the use of `@parcel/watcher` for file watching (default: true). */ enableParcelWatcher: Feature; /** * Enables import rewriting for workers instead of using es-module-shims. * This makes workers compatible with service workers. * Requires enableModuleWorkers to be enabled (default: true). */ rewriteWorkerImports: Feature; /** * Enables downloading bundles from remote cache instead of bundling. */ enableRemoteCacheDownloads: Feature; /** * Enables server-side rendering (SSR) for the application, including Node import map support. * This is experimental and may not work in all cases. */ enableSSR: Feature; /** Enables the file watcher to be spawned in a forked process (default: true). */ enableWatcherInFork: Feature; /** Enables shared root file watcher optimization for monorepos. */ enableWatcherSharedRoot: Feature; /** Enables the preemptive enqueueing of dependencies during build. */ enqueueDependencies: Feature; /** Check for dynamic (async) imports with non-literal paths in bundle output during init. */ evaluateDynamicImports: Feature; /** Hot Module Replacement (opt-in, experimental). */ hmr: Feature; /** * Excludes unused dependencies in the generated config during an init run. * This helps trim the dependency graph, reduce the import map, and speed up performance. */ optimizeDependencies: Feature; /** Enables relative resource paths to be used in import map paths when useSingleWebServer is true. (default: true) */ relativeImportMapPaths: Feature; /** Creates null entries for unused exports in generated config so that they are not included when bundling. */ removeUnusedExports: Feature; /** @deprecated Removed in favor of `resolve-web-extensions` bundler capability. Enables React Native type resolution of .web.ts extensions. */ resolveWebExtensions: Feature; /** Enables the syncing of bundles. */ syncBundles: Feature; /** Enables the syncing of internal packages. */ syncInternalPackages: Feature; /** Use static analysis instead of bundling during init to determine package imports (experimental). If CJS parsing misses a dependency, the bundle server recovers at runtime and emits a warning. */ staticAnalysisInit: Feature; /** Use a single server for both bundles and app assets (default: true). */ useSingleWebServer: Feature; /** Enables the verification of exports during init (default: true). */ verifyExports: Feature; }; /** * Record of features that are enabled by default. */ export declare const defaultFeatures: Features; //# sourceMappingURL=allFeatures.d.ts.map