We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build.license
1 parent a689827 commit 1eae3beCopy full SHA for 1eae3be
config/build-options.md
@@ -212,25 +212,6 @@ export default defineConfig({
212
]
213
```
214
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
234
:::
235
236
## build.manifest
0 commit comments