WindmillWWindmill
Powered by
AzaroxA
Windmill•2y ago•
8 replies
Azarox

Multiple main in bundle relative path for preview

Hello, I tried using the beta feature bundle relative paths for preview. I looked at the code that was bundled in the preview, and if multiple functions/variables have the same name, it changes them to function1, function2, etc. The same applies to the main functions. But I think the main function of the script we want to execute might become main1/main2, and therefore the parameters are no longer correct.

The main() function should always be the main function of the current script ?
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

No arguments passed to main when relative imports in VSCode Preview
bembleBbemble / help
12mo ago
Bad request in App preview
antonioalvesAantonioalves / help
5mo ago
Cannot paste text in Windmill preview in VSCode
httpteapotHhttpteapot / help
2y ago
Typescript error main.main
Murilo SilvaMMurilo Silva / help
17mo ago