@oriflame/config-webpack
Version:
Reusable Webpack configs.
22 lines (20 loc) • 596 B
text/typescript
import type { container } from 'webpack';
export interface WebpackOptions {
analyzeBundle?: boolean;
buildFolder?: string;
port?: number | string;
parallel?: boolean | number | string;
root?: string;
react?: boolean;
sourceMaps?: boolean;
publicPath?: string;
srcFolder: string;
entryPoint?: string;
devServerContentBase?: string;
host?: string;
moduleFederationConfig?: ConstructorParameters<typeof container.ModuleFederationPlugin>[0];
enableSharedModules?: boolean;
sharedModulesPackage?: string;
sharedModulesManifestPath?: string;
monorepoRoot?: string;
}