forked from forks/ffprobe-wasm-npm
fix: fixed build
This commit is contained in:
8
build.sh
8
build.sh
@@ -5,17 +5,17 @@ set -e
|
||||
|
||||
# Clean
|
||||
rm -rf dist
|
||||
rm -rf ffprobe-wasm-app/dist
|
||||
rm -rf libav-wasm/dist
|
||||
|
||||
# Build wasm
|
||||
cd ffprobe-wasm-app
|
||||
cd libav-wasm
|
||||
docker-compose run ffprobe-wasm make
|
||||
cd ..
|
||||
cp -R ffprobe-wasm-app/dist dist
|
||||
cp -R libav-wasm/dist dist
|
||||
cp src/*.d.* dist
|
||||
|
||||
# Build browser/node workers
|
||||
npm run build
|
||||
pnpm run build
|
||||
|
||||
# Copy files for npm publish
|
||||
cp package.json LICENSE README.md dist
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cis-oss/avprobe-wasm",
|
||||
"version": "0.3.3-rc1",
|
||||
"version": "0.3.3",
|
||||
"description": "ffprobe-like for browser and node, powered by WebAssembly",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user