Skip to content

Commit

Permalink
Add ffmpeg binary to webpack assets
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed Aug 4, 2024
1 parent 4e115bd commit f6becb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/main/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ module.exports = (env: BuildEnv): webpack.Configuration => {
{ from: 'preload.js' },
{ from: path.resolve(__dirname, '../../.env') },
{ from: path.resolve(SCANNER_DIR, 'index.node'), to: 'scanner.node' },
{ from: '../../node_modules/ffmpeg-static', to: 'ffmpeg-static' }
{ from: '../../node_modules/ffmpeg-static', to: 'ffmpeg-static' },
{ from: '../../node_modules/ffmpeg-static/ffmpeg', to: 'ffmpeg' }
]
}),
new webpack.NormalModuleReplacementPlugin(/(.*)system-api(\.*)/, (resource) => {
Expand Down

0 comments on commit f6becb2

Please sign in to comment.