Skip to content

Commit

Permalink
Don't inline anything (well, really only audio workers). Fixes #468
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Jan 1, 2025
1 parent 3ae551c commit 09dbaa4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { configDefaults } from "vitest/config";

/** @type {import('vite').UserConfig} */
/** @type {import("vite").UserConfig} */
export default {
build: {
sourcemap: true,
// Prevent inlining; we don't want any worklets/audio workers to be inlined as that doesn't work.
assetsInlineLimit: 0,
},
test: {
include: [...configDefaults.include, "tests/unit/**/*.js", "tests/integration/**/*.js"],
Expand Down

0 comments on commit 09dbaa4

Please sign in to comment.