So I have been moving my app to fully use modules. I know we can’t remove all atmosphere packages but is there a way I can disable Meteor globals? If not, can I perform linting and check for globals so that I can get rid of them?
Thanks!
So I have been moving my app to fully use modules. I know we can’t remove all atmosphere packages but is there a way I can disable Meteor globals? If not, can I perform linting and check for globals so that I can get rid of them?
Thanks!
On the client, all your imported vars should be listed in http://localhost:3000/packages/global-imports.js
.
In theory, you could use meteorhacks:inject-initial to remove the script tag that loads this line from your initial HTML
Maybe I’ll write a package for this if there’s sufficient interest.
Thanks. That’s helpful. What about the server-side?
No, unfortunately it’s not as easy to hack the server like this. You’ll have to rely on linting for the server side, for now.