Skip to content

Commit

Permalink
Mention that npm link is not enough to use something locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Sep 9, 2016
1 parent 20008f5 commit d451e0e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,15 @@ If your build-tool is [eyeglass-aware](#building-sass-files-with-eyeglass-suppor

## Manually adding modules

Eyeglass will auto-discover npm installed modules. To add modules that are not part of the npm ecosystem, you can manually add modules via the eyeglass options:
Eyeglass will transitively auto-discover npm installed modules that are listed in
your `package.json` files. Just using `npm link` is not enough to use
modules on your local filesystem. If that isn't sufficient, you can use
the `eyeglass.modules` config option to specify a path to your npm
module or to even declare an eyeglass module for a project that doesn't
declare itself to be one.

To add modules that are not part of the npm ecosystem, you can manually
add modules via the eyeglass options:

```js
var sass = require("node-sass");
Expand Down

0 comments on commit d451e0e

Please sign in to comment.