Skip to content

Commit

Permalink
Allow WASM for development
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Jul 21, 2022
1 parent 000ec95 commit 7f3588b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/server/web/sandbox/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async function createModuleContext(options: ModuleContextOptions) {
const runtime = new EdgeRuntime({
codeGeneration:
process.env.NODE_ENV !== 'production'
? { strings: true, wasm: false }
? { strings: true, wasm: true }
: undefined,
extend: (context) => {
context.process = createProcessPolyfill(options)
Expand Down

0 comments on commit 7f3588b

Please sign in to comment.