[bug]: algoliasearch
fails with tsx
and ESM ("type": "module")
#1565
Labels
algoliasearch
fails with tsx
and ESM ("type": "module")
#1565
I originally reported this over here, but the
"skipLibCheck": false
was a red herring for my particular issue (still leaving it open in case it's interesting on its own): #1564Description
CodeSandbox: https://codesandbox.io/p/devbox/p6w2mq?file=%2F.codesandbox%2Ftasks.json%3A12%2C15
Running
algoliasearch
withtsx
and ESM ("type": "module"
) will cause a crash"type": "module"
inpackage.json
algoliasearch
andtsx
index.ts
file with a simple named import ofalgoliasearch
pnpm tsx index.ts
cc @shortcuts wonder if this is related to algolia/api-clients-automation#3966 (considering that the error is in a
.ts
file)Client
Search
Version
5.9.1
Relevant log output
The text was updated successfully, but these errors were encountered: