We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12d80e8 + 371aa7e commit fa134c1Copy full SHA for fa134c1
1 file changed
README.md
@@ -66,6 +66,16 @@ If automatic setup didn't work or you need custom configuration:
66
cp node_modules/webcodecs-encoder/dist/worker.js public/webcodecs-worker.js
67
```
68
69
+```cmd
70
+# Windows equivalent
71
+copy node_modules\webcodecs-encoder\dist\worker.js public\webcodecs-worker.js
72
+```
73
+
74
+```bash
75
+# Cross-platform Node script (requires fs-extra)
76
+node -e "require('fs-extra').copySync('node_modules/webcodecs-encoder/dist/worker.js', 'public/webcodecs-worker.js')"
77
78
79
### Disable Automatic Worker Copy
80
81
Set `WEB_CODECS_ENCODER_SKIP_COPY=1` before installation if you want to skip the copy performed by the `postinstall` script.
0 commit comments