also use worklet plugin in web package

This commit is contained in:
Felix Roos 2025-05-01 23:56:29 +02:00
parent 8f58d5788f
commit 53e50d81b0
No known key found for this signature in database
3 changed files with 7 additions and 1 deletions

View file

@ -41,6 +41,7 @@
},
"devDependencies": {
"@rollup/plugin-replace": "^6.0.2",
"vite": "^6.0.11"
"vite": "^6.0.11",
"vite-plugin-bundle-audioworklet": "workspace:*"
}
}

View file

@ -2,9 +2,11 @@ import { defineConfig } from 'vite';
import { dependencies } from './package.json';
import { resolve } from 'path';
import replace from '@rollup/plugin-replace';
import bundleAudioWorkletPlugin from 'vite-plugin-bundle-audioworklet';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [bundleAudioWorkletPlugin()],
base: './',
plugins: [],
build: {