-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Library version
v2.0.7
Describe the bug
When using [email protected]in a (Vite + esbuild) project, the build fails because the package ships ESM files containing Flow type annotations. (Vite + esbuild) does not transpile Flow syntax from node_modules, causing a parse error, note that v2.0.6 works just fine.
Error message
node_modules/.pnpm/[email protected]/node_modules/ua-parser-js/src/helpers/ua-parser-helpers.mjs (16:24)
Expected ',', got ':'
(Note that you need plugins to import files that are not JavaScript)See: https://github.com/codiume/orbit/actions/runs/20054754913/job/57517658726?pr=1217
Metadata
Metadata
Assignees
Labels
No labels