Hey,
Well to have it available without the need of republishing your function it has to be in the context. The ENV variables available for each function that needs publish every time you modify them are available globally (as you already know).
Can you explain why you need to have your importantVar and doSomethingImportantWith outside the handler scope? Maybe I can help you achieve it another way.