Is it possible to use a TypeScript runtime other than ts-node to load config?
#29100
Unanswered
alexeyr-ci
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When running
node -r jiti/register node_modules/.bin/cypress open --browser chrome --project specwherespeccontainscypress.config.ts, I expected config to be loaded like other TypeScript files. Instead I gotI see the documentation only mentions
ts-nodeandts-nodeis directly used in the code. Are the other runtimes not supported at all or is there some trick to it?The idea was to delete
ts-nodecompletely, and without this I'd have to leave it indevDependencies.Beta Was this translation helpful? Give feedback.
All reactions