imports-loader

imports loader module for webpack

npm install imports-loader
6 downloads in the last day
62 downloads in the last week
158 downloads in the last month

imports loader for webpack

Usage

require("imports?page=../pages/mypage,jQuery,config=>{size:50}!./file.js");
// adds below code the the file's source:
//  var page = require("../pages/mypage");
//  var jQuery = require("jQuery");
//  var config = {size:50};

License

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

npm loves you