wast-loader Webpack loader for WebAssembly text format Install yarn add wast-loader Usage webpack.config.js: module: { rules: [ { test: /\.wast$/, loader: "wast-loader", type: "webassembly/experimental" } ] },