Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Bret Ikehara committed Oct 26, 2016
1 parent 38db904 commit ffd8c74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ gulpLoadPlugins({
rename: {}, // a mapping of plugins to rename
renameFn: function (name) { ... }, // a function to handle the renaming of plugins (the default works)
postRequireTransforms: {}, // see documentation below
maintainScope: true // toggles loadin all npm scopes like non-scoped packages
maintainScope: true // toggles loading all npm scopes like non-scoped packages
});
```

Expand Down Expand Up @@ -137,7 +137,7 @@ Note that if you specify the `renameFn` options with your own custom rename func

## npm Scopes

`gulp-load-plugins` comes with [npm scope](https://docs.npmjs.com/misc/scope) support. By default, the scoped plugins are accessible through an object on `plugins` that represents the scope. When `maintainScope = false`, the plugins are availble in the top level just like any other non-scoped plugins.
`gulp-load-plugins` comes with [npm scope](https://docs.npmjs.com/misc/scope) support. By default, the scoped plugins are accessible through an object on `plugins` that represents the scope. When `maintainScope = false`, the plugins are available in the top level just like any other non-scoped plugins.

For example, if the plugin is `@myco/gulp-test-plugin` then you can access the plugin as shown in the following example:

Expand Down

0 comments on commit ffd8c74

Please sign in to comment.