webpack-named-moduleids-plugin

1.0.7 • Public • Published

webpack named moduleids plugin

to generate named webpack internal module name, now you can reuse lib between single components on one platform

case

  import { SketchPicker } from 'react-color'
 
  // output code
 
  var lib = __webpack_require__("/node_modules/react-color@2.x.x/lib/index.js");
  lib["SketchPicker"]
 

more

doing you can find all options in schema/NamedModuleIdsPulgin.json

/webpack-named-moduleids-plugin/

    Package Sidebar

    Install

    npm i webpack-named-moduleids-plugin

    Weekly Downloads

    1

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    13.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • blueair