module Sprockets

transform a javascript asset by running through the webpack manger. The file is processed if its name finishes in eg.. .webpack.js. The method for saving dependencies is copied from the sprockets sass processor.