Skip to content

Commit 826f378

Browse files
committed
fix workfolw
1 parent f58622f commit 826f378

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

webpack.config.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,16 @@ module.exports = {
2020
mode: 'development',
2121
experiments: {
2222
asyncWebAssembly: true
23-
}
24-
};
23+
},
24+
module: {
25+
rules: [
26+
{
27+
test: /\.wasm$/,
28+
type: 'webassembly/async'
29+
}
30+
]
31+
},
32+
resolve: {
33+
extensions: ['.js', '.wasm']
34+
}
35+
};

0 commit comments

Comments
 (0)