Now I use the VSCode extension dev
Now I use the VSCode extension dev locally.
I want to create a file to store TS types.
I don't want to put the logic code and TS types in the same file.
It's not easy to read the logic code.
And I try to create a
type.ts
to store the ts types in the flow.
But it creates another script for me when I exec wmill sync push
.
I hope more friendly to import different files. And make both works in local and online code editors.1 Reply
you either need to use relative imports or absolute paths with the "f" or "u" prefix
see: https://www.windmill.dev/docs/advanced/sharing_common_logic
Sharing Common Logic | Windmill
It is common to want to share common logic between your scripts. This can be done easily using relative imports in both Python and Deno.