https://promptfoo.dev/ logo
running typescript
# 💬|general
i
Custom
.ts
providers are executed directly by Node.js, not by your frontend bundler. So frontend/bundler path aliases such as
@/utils
are also not resolved automatically. If your provider depends on those features, suggest you compile it to JavaScript first and point promptfoo at the built `.js`/`.mjs` file, or switch to relative imports / Node-resolvable packages.
2 Views