19 lines
375 B
JavaScript
19 lines
375 B
JavaScript
const path = require("path");
|
|
|
|
module.exports = {
|
|
mode: "production",
|
|
devtool: "source-map",
|
|
entry: "./dist/esm/index.js",
|
|
resolve: {
|
|
extensions: [".js"],
|
|
},
|
|
output: {
|
|
// disable automatic publicPath
|
|
publicPath: "",
|
|
path: path.resolve(__dirname, "dist/umd"),
|
|
filename: "ffmpeg.js",
|
|
library: "FFmpegWASM",
|
|
libraryTarget: "umd",
|
|
},
|
|
};
|