rtritto
rtritto
This logic can be restored: ```diff const paths: [path: string, exportName: string][] = []; for await (const filePath of files) { // ... - if (types) paths.push([fullPath.replace(directoryPath, ""), importName]); +...
Because I changed the glob scan to async iteration with streams (https://bun.sh/docs/api/glob#quickstart) and the filepath list can't be collected.
> > Changed to use glob with async iteration with streams. > > If needed, `sortByNestedParams` function can be restored and used to `paths` array (after `for async`). > >...
> is this PR ready for merge? I don't know if we should add a message error when using NodeJS and missing `esbuild`. Anyway README needs to be updated with...
> I mean that `tsx` is de-facto standard and it mentioned in NodeJS documentation > > So if some TypeScript executor isn't support .ts files it will be not our...
> Didn't understand what u mean by "we can use directly" What's we get with it? `esbuild` is a bundler and it's used to build and transpile. `tsx` is used,...
When you start `vite` and `vike`, you don't use `tsx` because they use `esbuild` internally. At same way, `elysia-autoload` should use `esbuild`. Use `tsx` when you need to start `.ts`...
@kravetsone the error `TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /.ts`, with the dynamic `import` on Node.js for `.ts` and `.tsx` files, has a related issue with `Vite`: https://github.com/vitejs/vite/issues/5370 As...
My comment: https://github.com/vitejs/vite/issues/5370#issuecomment-2514998156
@reitowo please can you resolve conflicts?