Update
This commit is contained in:
19
public/ffmpeg_packages/ffmpeg/webpack.config.js
Executable file
19
public/ffmpeg_packages/ffmpeg/webpack.config.js
Executable file
@@ -0,0 +1,19 @@
|
||||
const path = require("path");
|
||||
|
||||
module.exports = {
|
||||
mode: "production",
|
||||
devtool: "source-map",
|
||||
entry: "./dist/esm/index.js",
|
||||
resolve: {
|
||||
extensions: [".js"],
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist/umd"),
|
||||
filename: "ffmpeg.js",
|
||||
library: "FFmpegWASM",
|
||||
libraryTarget: "umd",
|
||||
},
|
||||
stats: {
|
||||
warnings:false
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user