forked from forks/ffprobe-wasm
FFmpeg to WASM build setup + Vue app.
This commit is contained in:
13
www/webpack.config.js
Normal file
13
www/webpack.config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
|
||||
new WasmPackPlugin({
|
||||
crateDirectory: path.resolve(__dirname, "crate"),
|
||||
args: "--log-level warn",
|
||||
extraArgs: "--no-typescript",
|
||||
}),
|
||||
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user