Skip to content

Commit

Permalink
Clarify introductory sentences (#31)
Browse files Browse the repository at this point in the history
I found the previous wording a little hard to parse, so I've refactored it.
  • Loading branch information
Wilfred authored and SpaceK33z committed Oct 18, 2016
1 parent f682af5 commit d73e591
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# imports loader for webpack

Can be used to inject variables into the scope of a module. This is especially useful if third-party modules are relying on global variables like `$` or `this` being the `window` object.
The imports loader allows you to use modules that depend on specific global variables.

This is useful for third-party modules that rely on global variables like `$` or `this` being the `window` object. The imports loader can add the necessary `require('whatever')` calls, so those modules work with webpack.

## Installation

Expand Down

0 comments on commit d73e591

Please sign in to comment.