Nitro build warning on ESM and this
Hi, when trying to build my application after Nuxt logs
Checking the arktype build output it has the TS helpers that TSC would emit and those use
The built server seems to work fine, however the warns are a bit annoying. Also another thing that is quite strange, while i can get the warns when using Windows, trying in WSL and StackBlitz it does not warn.
repro repo: https://github.com/Fleny113/arktype-nuxt-repro (the
Building Nuxt Nitro server (preset: node-server) i get a bunch of warnings from files in the node_modules (specificly files from arktype and @arktype/schema) like these: (there a bunch of them, it would be too long to list them all)Checking the arktype build output it has the TS helpers that TSC would emit and those use
this that ESBuild(?) seems to not be so happy withThe built server seems to work fine, however the warns are a bit annoying. Also another thing that is quite strange, while i can get the warns when using Windows, trying in WSL and StackBlitz it does not warn.
pnpm nuxi info: repro repo: https://github.com/Fleny113/arktype-nuxt-repro (the
server/api/test.post.ts file has the arktype validation)