casterly
Version:
CLI for Casterly
25 lines (24 loc) • 689 B
TypeScript
import * as config from '@casterly/utils/config';
import type { Configuration } from 'webpack';
declare type WebpackConfigFn = (config: Configuration, options: {
dev: boolean;
isServer: boolean;
}) => Configuration | undefined;
declare const _default: {
defaultConfig: {
buildServer: {
port: number;
};
buildFolder: string;
experiments: {
esbuildDependencies: boolean;
};
};
loadUserConfig: (dir: string) => config.CasterlyConfig;
userConfig: config.CasterlyConfig;
loadWebpackConfig: () => WebpackConfigFn | undefined;
postcssRc: {
plugins: any[];
} | null;
};
export = _default;