UNPKG

@plugin-light/project-config-pixui

Version:
86 lines (85 loc) 2.11 kB
import type { IOptions } from './types'; export declare function getPixuiWebpackConfig(options: IOptions): { entry: { [k: string]: string | undefined; }; output: { path: string; filename: string; publicPath: string; }; resolve: { modules: string[]; extensions: string[]; alias: { preact$: string; "preact/hooks$": string; "preact-router/match": string; "react-window": string; "@improbable-eng/grpc-web": string; react: string; }; }; module: { rules: ({ test: RegExp; use: { loader: string; options: any; }[]; exclude: RegExp; loader?: undefined; options?: undefined; } | { test: RegExp; use: (string | { loader: string; options: any; })[]; exclude?: undefined; loader?: undefined; options?: undefined; } | { test: RegExp; loader: string; options: { name: string; }; use?: undefined; exclude?: undefined; })[]; }; optimization: { minimize: boolean; }; devtool: string; plugins: any[]; externals: { puerts: string; csharp: string; }; devServer: { sockPath: string; sockPort: string | number; port: string | number; host: string; transportMode: string; hot: boolean; liveReload: boolean; disableHostCheck: boolean; overlay: boolean; writeToDisk: boolean; contentBase: string[]; watchContentBase: boolean; historyApiFallback: { rewrites: { from: RegExp; to: string; }[]; }; headers: { 'Access-Control-Allow-Origin': string; }; before: (app: any) => void; }; };