Skip to content
Merged

d2m #1430

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions config/build-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,27 +212,6 @@ export default defineConfig({
]
```

::: tip
如果你希望在构建后的代码中引用许可证文件,可以使用 `build.rollupOptions.output.banner` 在文件顶部注入注释。例如:

```js twoslash [vite.config.js]
import { defineConfig } from 'vite'

export default defineConfig({
build: {
license: true,
rollupOptions: {
output: {
banner:
'/* See licenses of bundled dependencies at https://example.com/license.md */',
},
},
},
})
```

:::

## build.manifest {#build-manifest}

- **类型:** `boolean | string`
Expand Down