imporve wasm test

This commit is contained in:
Sasha 2024-02-27 00:16:56 +01:00
parent 3bcd8a4cba
commit b3d6ca001d
No known key found for this signature in database

View File

@ -23,7 +23,10 @@ module.exports = function (config) {
webpack: {
mode: "development",
module: {
rules: [{ test: /\.([cm]?ts|tsx)$/, loader: "ts-loader" }]
rules: [{
test: /\.wasm$/,
type: "asset/resource",
}, { test: /\.([cm]?ts|tsx)$/, loader: "ts-loader" }]
},
plugins: [
new webpack.DefinePlugin({