ggml-org/whisper.cpp

Node package ES6 compatibility

Open

#335 opened on Dec 26, 2022

View on GitHub
 (0 comments) (2 reactions) (0 assignees)C++ (5,535 forks)batch import
buildhelp wanted

Repository metrics

Stars
 (49,693 stars)
PR merge metrics
 (Avg merge 5d 20h) (36 merged PRs in 30d)

Description

The node package that's currently built is not an ES6 compatible package.

I've tried adding the -s EXPORT_ES6 flag and it seems to work properly, but the output still has mixed usage of CommonJS requires and ES6 imports, which breaks things.

Contributor guide