Update website and send total=-1 when no content-type

This commit is contained in:
Jerome Wu
2022-10-05 17:51:09 +08:00
parent c9f20b8dc2
commit b8314a96e3
26 changed files with 193 additions and 66 deletions

View File

@@ -3,10 +3,10 @@
"version": "0.11.5",
"description": "FFmpeg WebAssembly version for browser",
"main": "./dist/umd/ffmpeg.js",
"types": "./dist/umd/ffmpeg.d.ts",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/umd/ffmpeg.d.ts",
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/umd/ffmpeg.js"
}
@@ -16,7 +16,6 @@
"lint": "eslint src",
"clean": "rimraf dist",
"build:umd": "webpack",
"build:d": "tsc -p tsconfig.d.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "npm-run-all clean build:*",
"docs": "typedoc --entryPointStrategy expand ./src",