exports-loader

exports loader module for webpack

npm install exports-loader
18 downloads in the last day
41 downloads in the last week
188 downloads in the last month

exports loader for webpack

Usage

require("exports?file,parse=helpers.parse!./file.js");
// adds below code the the file's source:
//  exports["file"] = file;
//  exports["parse"] = helpers.parse;

require("exports?file!./file.js");
// adds below code the the file's source:
//  module.exports = file;

License

MIT (http://www.opensource.org/licenses/mit-license.php)

npm loves you