code: function ModuleResource( pkg, config ) {
  	// Parent constructor
  	ModuleResource.super.call( this, pkg, config );
  
  	// Properties
  	this.imports = config.imports || null;
  	this.exports = config.exports || null;
  	this.propertyNamePattern = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/;
  }
docs: JavaScript module resource.
  
  @class
  @extends {FileResource}
  
  @constructor
  @param {Package} pkg Package this resource is part of
  @param {Object|string[]|string} config Resource configuration or one or more resource file paths