webpack-add-module-exports

0.0.2 • Public • Published

webpack-add-module-exports for webpack

Usage

var WebpacModuleExports = require("webpack-add-module-exports");
 
plugins: [
    // for all file
    new WebpacModuleExports(),
 
    // just for index.js
    // new WebpacModuleExports({
    //     fileRegExp: /index.js/
    // }),
],

License

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

Package Sidebar

Install

npm i webpack-add-module-exports

Weekly Downloads

12

Version

0.0.2

License

MIT

Last publish

Collaborators

  • joeyguo