Skip to content

lokewei/webpack-named-moduleids-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

base on packagename+version to generator module id

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published