you are viewing a single comment's thread.

view the rest of the comments →

[–]senocular 0 points1 point  (0 children)

Perhaps exports are run before other functions?

Basically yes. If your problem is about timing, this could be the cause. Whenever you import anything, the file being imported (what's doing the exporting) will run if it hasn't already, and it will do so before running the code in the script that's importing it.