# output.indent
| 类型: | boolean | string |
|---|---|
| CLI: | --indent/--no-indent |
| 默认: | true |
该选项用于指定代码缩进的缩进字符串(在 amd,iife,umd 和 system 格式中)。它的值可以是 false (没有缩进)或 true (默认值——自动缩进)。
// rollup.config.js
export default {
...,
output: {
...,
indent: false
}
};
| 类型: | boolean | string |
|---|---|
| CLI: | --indent/--no-indent |
| 默认: | true |
该选项用于指定代码缩进的缩进字符串(在 amd,iife,umd 和 system 格式中)。它的值可以是 false (没有缩进)或 true (默认值——自动缩进)。
// rollup.config.js
export default {
...,
output: {
...,
indent: false
}
};