Hi,
To use web workers in my app, I need a standalone file to load for the worker thread.
To build that file without losing all the Babel/ES6 module and syntax transpilation, I need to figure out a way to configure meteor to say: “build a new output file, worker.js, by starting with this specific module, imports/workermain.js that in turn might import all sorts of other npm and local modules and use other Babel ES6 features”.
Is this possible? I could probably set up something completely separate with gulp and babel and whatever but this feels quite brittle and painful.
Martin