         filename: @filename
       }
       #console.log code
-      exports = {}
+      @module = {}
       ## Mimick NodeJS module's __filename and __dirname variables
       ## [https://nodejs.org/api/modules.html#modules_the_module_scope]
       _filename = path.resolve @filename

class Styles extends ArrayWrapper
  @itemClass: Style

class Mapping extends Input
  constructor: (...args) ->
    super ...args

      #}
      #console.log code
      pirates?.settings = @settings
      @module = runWithMapping @, -> require filename
      @load @module.default ? {}
      @walkDeps filename
    else
      ## But if file has been explicitly loaded (e.g. in browser),
