Closed Elia872 closed 12 months ago
Importing @ffmpeg/ffmpeg in nodejs results in SyntaxError: Unexpected token 'export'. This can lead to problems in a SSR application.
@ffmpeg/ffmpeg
SyntaxError: Unexpected token 'export'
This just exports an empty file and any use of a function/class will result in an error.
LGTM, thanks!
Importing
@ffmpeg/ffmpeg
in nodejs results inSyntaxError: Unexpected token 'export'
. This can lead to problems in a SSR application.This just exports an empty file and any use of a function/class will result in an error.