It is not possible to use shared typescript utility files in workflows / steps when using Nuxt.
When using relative imports, I see this error when navigating to app:
Unknown file extension ".ts" for /code/research/workflow-nuxt/server/utils/say.ts
When using import aliases such as import say from "@@/server/utils/say"; the build fails with error:
ERROR: Could not resolve "@@/server/utils/say"
Reproduction:
https://github.com/mikkokut/workflow-nuxt
Related to #261. I created a separate issue for Nuxt because there was a working workaround for Nitro.
It is not possible to use shared typescript utility files in workflows / steps when using Nuxt.
When using relative imports, I see this error when navigating to app:
When using import aliases such as
import say from "@@/server/utils/say";the build fails with error:Reproduction:
https://github.com/mikkokut/workflow-nuxt
Related to #261. I created a separate issue for Nuxt because there was a working workaround for Nitro.