Skip to content

Commit 1c7deef

Browse files
committed
test next config wasm webpack
1 parent f4a87b4 commit 1c7deef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: next.config.mjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const nextConfig = {
88
images: {
99
unoptimized: true,
1010
},
11-
outputFileTracingIncludes: ['/onigasm.wasm'],
11+
webpack: function (config, options) {
12+
config.options = { ...options, asyncWebAssembly: true }
13+
return config
14+
},
1215
experimental: {
1316
turbo: {
1417
resolveAlias: {

0 commit comments

Comments
 (0)