I want to use a web artist to play a sequence of sounds that depends on the variables of the Meteor session. Therefore, I cannot put it in a shared folder.
I mean, do I have to wrap it in a package in order to use a web employee?
Meteor is based on connect, so you can put the file worker.jsoutside the application folder (make it not downloaded), and then use your self-determining router .use('/worker.js', FILEPATH).
connect
worker.js
.use('/worker.js', FILEPATH)
The folder /publicis not for scripts. It looks like a client task - put it in a folder /client(possibly inside a function Meteor.startup()).
/public
/client
Meteor.startup()