diff --git a/next.config.mjs b/next.config.mjs index e179fed..8a408fa 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -3,7 +3,14 @@ import { bundlerModuleNameResolver } from 'typescript' const nextConfig = { experimental: { + useWasmBinary: true, turbo: { + rules: { + '*.wasm': { + loader: ['onigasm'], + as: '*.wasm', + }, + }, resolveAlias: { 'monaco-editor': 'monaco-editor/esm/vs/editor/editor.api', },