Skip to main content
Version: Next

CommandKitConfig

CommandKitConfig

PropertyTypeValueDescription
antiCrashbooleanN/AWhether or not to include anti-crash handler in production. Defaults to true.
clearRestartLogsbooleanN/AWhether or not to clear default restart logs. Defaults to true.
envExtrabooleanN/AWhether or not to include extra env utilities. Defaults to true.
mainstringN/AThe main "javascript" file of the project.
minifybooleanN/AWhether or not to minify the output. Defaults to false.
nodeOptionsArray<string>N/ANode.js cli options.
outDirstringN/AThe output directory of the project. Defaults to dist.
requirePolyfillbooleanN/AWhether or not to polyfill require function. Defaults to true.
sourcemapboolean | 'inline'N/AWhether or not to include sourcemaps in production build. Defaults to false.
srcstringN/AThe source directory of the project.
watchbooleanN/AWhether or not to use the watch mode. Defaults to true.