|
1 |
| -# expose loader for webpack |
| 1 | +[![npm][npm]][npm-url] |
| 2 | +[![deps][deps]][deps-url] |
| 3 | +[![chat][chat]][chat-url] |
2 | 4 |
|
3 |
| -The expose loader adds modules to the global object. This is useful |
| 5 | +<div align="center"> |
| 6 | + <!-- replace with accurate logo e.g from https://worldvectorlogo.com/ --> |
| 7 | + <a href="https://github.com/webpack/webpack"> |
| 8 | + <img width="200" height="200" vspace="" hspace="25" |
| 9 | + src="https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon.svg"> |
| 10 | + </a> |
| 11 | + <h1>Expose Loader</h1> |
| 12 | + <p>The expose loader adds modules to the global object. This is useful |
4 | 13 | for debugging, or supporting libraries that depend on libraries in
|
5 |
| -globals. |
| 14 | +globals.<p> |
| 15 | +</div> |
| 16 | + |
| 17 | +<h2 align="center">Install</h2> |
| 18 | + |
| 19 | +```bash |
| 20 | +npm i eslint-config-webpack --save |
| 21 | +``` |
| 22 | + |
| 23 | +<h2 align="center">Usage</h2> |
6 | 24 |
|
7 | 25 | **Note**: Modules must be `require()`'d within in your bundle, or they will not
|
8 | 26 | be exposed.
|
9 | 27 |
|
10 |
| -## Usage |
11 |
| - |
12 | 28 | ``` javascript
|
13 | 29 | require("expose-loader?libraryName!./file.js");
|
14 | 30 | // Exposes the exports for file.js to the global context on property "libraryName".
|
@@ -50,6 +66,45 @@ bundle.
|
50 | 66 |
|
51 | 67 | [Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
|
52 | 68 |
|
53 |
| -## License |
| 69 | +<h2 align="center">Maintainers</h2> |
| 70 | + |
| 71 | +<table> |
| 72 | + <tbody> |
| 73 | + <tr> |
| 74 | + <td align="center"> |
| 75 | + <img width="150" height="150" |
| 76 | + src="https://avatars3.githubusercontent.com/u/166921?v=3&s=150"> |
| 77 | + </br> |
| 78 | + <a href="https://github.com/bebraw">Juho Vepsäläinen</a> |
| 79 | + </td> |
| 80 | + <td align="center"> |
| 81 | + <img width="150" height="150" |
| 82 | + src="https://avatars2.githubusercontent.com/u/8420490?v=3&s=150"> |
| 83 | + </br> |
| 84 | + <a href="https://github.com/d3viant0ne">Joshua Wiens</a> |
| 85 | + </td> |
| 86 | + <td align="center"> |
| 87 | + <img width="150" height="150" |
| 88 | + src="https://avatars3.githubusercontent.com/u/533616?v=3&s=150"> |
| 89 | + </br> |
| 90 | + <a href="https://github.com/SpaceK33z">Kees Kluskens</a> |
| 91 | + </td> |
| 92 | + <td align="center"> |
| 93 | + <img width="150" height="150" |
| 94 | + src="https://avatars3.githubusercontent.com/u/3408176?v=3&s=150"> |
| 95 | + </br> |
| 96 | + <a href="https://github.com/TheLarkInn">Sean Larkin</a> |
| 97 | + </td> |
| 98 | + </tr> |
| 99 | + <tbody> |
| 100 | +</table> |
| 101 | + |
| 102 | + |
| 103 | +[npm]: https://img.shields.io/npm/v/expose-loader.svg |
| 104 | +[npm-url]: https://npmjs.com/package/expose-loader |
| 105 | + |
| 106 | +[deps]: https://david-dm.org/webpack-contrib/expose-loader.svg |
| 107 | +[deps-url]: https://david-dm.org/webpack-contrib/expose-loader |
54 | 108 |
|
55 |
| -MIT (http://www.opensource.org/licenses/mit-license.php) |
| 109 | +[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg |
| 110 | +[chat-url]: https://gitter.im/webpack/webpack |
0 commit comments