Skip to content

webpack-config/webpack-config-expose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-config-expose

Expose modules as global variables.

build status coverage license version downloads

Usage

Install:

npm install --save webpack-config-expose

Add to your webpack.config.babel.js:

import expose from `webpack-config-expose`;

expose({
  // map the global `React` to the local module `react`
  react: 'React',
})({
  /* existing webpack configuration */
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published