jbilcke-hf HF staff commited on
Commit
d41065b
1 Parent(s): 3b780fb

add emergency patch

Browse files
Files changed (2) hide show
  1. package.json +2 -1
  2. patch.js +1 -0
package.json CHANGED
@@ -3,8 +3,9 @@
3
  "version": "0.0.0",
4
  "private": true,
5
  "scripts": {
 
6
  "dev": "next dev",
7
- "build": "next build",
8
  "start": "next start",
9
  "lint": "next lint"
10
  },
 
3
  "version": "0.0.0",
4
  "private": true,
5
  "scripts": {
6
+ "patch": "cp -f patch.js node_modules/fluent-ffmpeg/index.js",
7
  "dev": "next dev",
8
+ "build": "bun run patch && next build",
9
  "start": "next start",
10
  "lint": "next lint"
11
  },
patch.js ADDED
@@ -0,0 +1 @@
 
 
1
+ module.exports = require('./lib/fluent-ffmpeg');