Skip to content

Commit

Permalink
Revert "Remove build.commonjsOptions.ignore from vite.config.ts"
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Nov 4, 2023
1 parent d7421c9 commit a2b35f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { builtinModules } from 'module';
import { defineConfig } from 'vitest/config';
import path from 'path';

Expand All @@ -9,6 +10,9 @@ export default defineConfig({
name: 'magick-wasm',
fileName: 'index',
},
commonjsOptions: {
ignore: [...builtinModules, 'ws'],
},
},
test: {
globals: true,
Expand Down

0 comments on commit a2b35f5

Please sign in to comment.