# output.intro/output.outro
| 类型: | string | ((chunk: ChunkInfo) => string| Promise<string>) |
|---|---|
| CLI: | --intro/--outro <text> |
除了在特定格式中代码不同外,该选项功能和 output.banner/output.footer 类似。
export default {
//...,
output: {
//...,
intro: 'const ENVIRONMENT = "production";'
}
};