@sanpjs/core
Version:
@sanpjs/core
117 lines (116 loc) • 3.23 kB
TypeScript
declare const _default: {
root: string;
type: string;
pagesDir: string;
sanpDir: string;
attachedElement: string;
mode: string;
plugins: never[];
pages: undefined;
progress: boolean;
watch: boolean;
build: {
copy: undefined;
outDir: string;
analyze: boolean;
clean: boolean;
sourceMap: boolean;
publicPath: string;
assetDir: string;
hash: boolean;
largeAssetSize: number;
cache: {
type: string;
allowCollectingMemory: boolean;
};
parallel: boolean;
esModule: boolean;
esbuild: boolean;
inspect: undefined;
script: {
babel: {};
polyfills: string;
finalize: (config: any) => any;
};
style: {
extract: boolean;
modules: undefined;
};
optimization: {
splitChunks: {};
terser: {
format: {
comments: boolean;
};
compress: {
unused: boolean;
drop_debugger: boolean;
drop_console: boolean;
dead_code: boolean;
};
ie8: boolean;
safari10: boolean;
warnings: boolean;
toplevel: boolean;
};
cssnano: {
mergeLonghand: boolean;
cssDeclarationSorter: boolean;
normalizeUrl: boolean;
discardUnused: boolean;
zindex: boolean;
reduceIdents: boolean;
safe: boolean;
autoprefixer: boolean;
discardComments: {
removeAll: boolean;
};
};
htmlMinify: {
caseSensitive: boolean;
removeComments: boolean;
collapseWhitespace: boolean;
removeAttributeQuotes: boolean;
quoteCharacter: string;
collapseBooleanAttributes: boolean;
removeScriptTypeAttributes: boolean;
minifyCSS: boolean;
minifyJS: boolean;
ignoreCustomFragments: RegExp[];
keepClosingSlash: boolean;
};
};
finalize: (config: any) => any;
};
server: {
host: string;
port: number;
https: boolean;
proxy: {};
hot: boolean;
mock: string;
allowedHosts: string;
static: {};
client: {
logging: string;
overlay: {
warnings: boolean;
errors: boolean;
};
progress: boolean;
};
open: boolean;
setupExitSignals: boolean;
headers: {
'Access-Control-Allow-Origin': string;
'Access-Control-Allow-Methods': string;
'Access-Control-Allow-Headers': string;
};
devMiddleware: {
mfs: boolean;
};
finalize: (config: any) => any;
};
ssr: {};
};
export default _default;