npm package diff
Package: @forge/bundler
Versions: 4.19.0-next.13 - 4.19.0-next.14
File: package/out/config/common.d.ts
Index: package/out/config/common.d.ts
===================================================================
--- package/out/config/common.d.ts
+++ package/out/config/common.d.ts
@@ -5,24 +5,23 @@
export interface ConfigBuilder {
isWatchMode: boolean;
isDebugMode?: boolean;
appDirectory: string;
+ outputDir: string;
}
export declare type EntryPoint = {
name: string;
path: string;
};
-export declare type FunctionsEntryPoint = EntryPoint & {
- functions: string[];
-};
-export declare function getEntryPoints(handlers: Handler[]): FunctionsEntryPoint[];
+export declare function getEntryPoints(handlers: Handler[]): EntryPoint[];
export declare const resolveModulePath: (moduleName: string) => string;
export declare function resolveStubPath(stubName: string): string;
export declare const getDevToolConfig: (config: ConfigBuilder) => string;
-declare type RequiredFields<T, F extends keyof T> = T & Required<Pick<T, F>>;
+export declare type RequiredFields<T, F extends keyof T> = T & Required<Pick<T, F>>;
+export declare type CommonOutputOptions = RequiredFields<Required<WebpackConfig>['output'], 'path'>;
declare type CommonModuleOptions = RequiredFields<ModuleOptions, 'rules'>;
export declare type WebpackEntries = Record<string, string>;
-export declare type CommonWebpackConfig = RequiredFields<WebpackConfig, 'module' | 'plugins' | 'output'> & Record<'module', CommonModuleOptions> & Record<'entry', WebpackEntries>;
+export declare type CommonWebpackConfig = RequiredFields<WebpackConfig, 'module' | 'plugins'> & Record<'output', CommonOutputOptions> & Record<'module', CommonModuleOptions> & Record<'entry', WebpackEntries>;
export declare const geti18nRule: (i18nConfig: Translations) => {
test: RegExp;
include: string[];
type: string;