 
 # use custom envify so we can specify the env based on the meteor command used
 envify = Npm.require 'envify/custom'
+
+# use exorcist transform to extract source map data
+exorcist = Npm.require 'exorcist'
 
 # get 'stream' to use PassThrough to provide a Buffer as a Readable stream
 stream = Npm.require 'stream'

fs = Npm.require 'fs'

processFile = (step) ->

  # check for extension as filename
  checkFilename step


  # set the readable stream's encoding so we read strings from it
  bundle.setEncoding('utf8')

  # extract the source map content from the generated file to give to Meteor
  # explicitly by piping bundle thru `exorcist`
  bundle = bundle.pipe exorcist step.fullInputPath+'.map', step.pathForSourceMap

  # use Meteor.wrapAsync to wrap `getString` so it's done synchronously
  wrappedFn = Meteor.wrapAsync getString

