Tooling - Webpack or Browserify



  • Anyone get these working to combine modules/etc to reduce the "require tax"?

    They both seem to add extra stuff that doesn't play well with screeps (and I may just be missing something obvious also)



  • I got it!

    Prepend the webpack boilerplate with module.exports =

    webpack returns the entry point's exports, so assigning it to module.exports seems to work well.