mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Add metadata extraction example
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
const examplesDir = path.resolve(__dirname, './examples');
|
||||
|
||||
@@ -22,6 +23,12 @@ export default defineConfig({
|
||||
mediakit: path.resolve(__dirname, './dist/metamuxer.mjs'),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
tailwindcss(),
|
||||
],
|
||||
server: {
|
||||
hmr: false,
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist-docs', // Build them directly into the docs build folder
|
||||
emptyOutDir: false,
|
||||
|
||||
Reference in New Issue
Block a user