content
content copied to clipboard
Workers incompatibility
Noticed from https://github.com/nuxt/framework/issues/6541#issuecomment-1212996801 that we have problematic dependencies such as csvtojson
that do not work well with worker platforms such as cloudflare workers.
Issue with csvtojson>bluebird
can probably be directly handled with unenv but made this issue to investigate more items might be incompatible with workers as they are an important target with Nuxt3, we either can create a test in content that tests it or basically fail and document content module is only working static or with Node.js (at least for the moment)
Can you take a look at this @farnabaz ?
Example for testing worker target: https://github.com/unjs/nitro/blob/main/test/presets/cloudflare.test.ts