diff --git a/config/build-options.md b/config/build-options.md index 1e0556c8..ff87de44 100644 --- a/config/build-options.md +++ b/config/build-options.md @@ -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`