Skip to content

Commit 1eae3be

Browse files
committed
docs: remove broken build.license example
1 parent a689827 commit 1eae3be

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

config/build-options.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -212,25 +212,6 @@ export default defineConfig({
212212
]
213213
```
214214

215-
::: tip
216-
ビルドされたコード内でライセンスファイルを参照したい場合は、`build.rollupOptions.output.banner` を使用してファイルの先頭にコメントを挿入できます。たとえば:
217-
218-
```js twoslash [vite.config.js]
219-
import { defineConfig } from 'vite'
220-
221-
export default defineConfig({
222-
build: {
223-
license: true,
224-
rollupOptions: {
225-
output: {
226-
banner:
227-
'/* See licenses of bundled dependencies at https://example.com/license.md */',
228-
},
229-
},
230-
},
231-
})
232-
```
233-
234215
:::
235216

236217
## build.manifest

0 commit comments

Comments
 (0)