mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-28 12:32:37 +03:00
dadcff15ef
This commit adds an example of executing the `wasm2asm` tool to generate asm.js output instead of WebAssembly. This is often useful when supporting older browsers, such as IE 11, that doesn't have native support for WebAssembly.
11 lines
184 B
JavaScript
11 lines
184 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: "./index.js",
|
|
output: {
|
|
path: path.resolve(__dirname, "dist"),
|
|
filename: "index.js",
|
|
},
|
|
mode: "development"
|
|
};
|