Files
pole-book/server/node_modules/@strapi/strapi/dist/node/build.d.ts

32 lines
778 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { CLIContext } from '../cli/types';
interface BuildOptions extends CLIContext {
/**
* Which bundler to use for building.
*
* @default webpack
*/
bundler?: 'webpack' | 'vite';
/**
* Minify the output
*
* @default true
*/
minify?: boolean;
/**
* Generate sourcemaps useful for debugging bugs in the admin panel UI.
*/
sourcemaps?: boolean;
/**
* Print stats for build
*/
stats?: boolean;
}
/**
* @example `$ strapi build`
*
* @description Builds the admin panel of the strapi application.
*/
declare const build: ({ logger, cwd, tsconfig, ...options }: BuildOptions) => Promise<void>;
export { build };
export type { BuildOptions };
//# sourceMappingURL=build.d.ts.map