Complete basic rewrite

This commit is contained in:
Jerome Wu
2022-09-30 17:21:03 +08:00
parent 2f18a2d806
commit a136b8b1bb
39 changed files with 3586 additions and 8769 deletions

View File

@@ -0,0 +1,27 @@
const path = require("path");
module.exports = {
mode: "production",
devtool: "source-map",
entry: "./src/index.ts",
module: {
rules: [
{
test: /\.ts$/,
loader: "ts-loader",
options: {
transpileOnly: false,
},
},
],
},
resolve: {
extensions: [".ts"],
},
output: {
path: path.resolve(__dirname, "dist/umd"),
filename: "ffmpeg.js",
library: "FFmpegWASM",
libraryTarget: "umd",
},
};