Boilerplate for Creating ES6 NPM Modules

This is cool. Note that the recommended babelrc is a little different, though, for Meteor. That thread also mentions a few quirks where things will be a little different from standard Meteor behavior.

  • you can’t use absolute import paths
  • any global declarations will fail in mocha (although you can set window.myGlobal inside a Meteor.isClient block).
  • you can’t do nested imports
1 Like