You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The easiest way to create a resolver is to use the `createResolver` function on `ResolveFactory`, along with one of the supplied File System implementations.
For more examples creating different types resolvers (sync/async, context, etc) see `lib/node.js`.
52
-
53
77
#### Resolver Options
54
78
55
79
| Field | Default | Description |
@@ -73,7 +97,8 @@ For more examples creating different types resolvers (sync/async, context, etc)
73
97
74
98
## Plugins
75
99
76
-
Similar to `webpack`, the core of `enhanced-resolve` functionality is implemented as individual plugins that are executed using [`Tapable`](https://github.com/webpack/tapable). These plugins can extend the functionality of the library, adding other ways for files/contexts to be resolved.
100
+
Similar to `webpack`, the core of `enhanced-resolve` functionality is implemented as individual plugins that are executed using [`tapable`](https://github.com/webpack/tapable).
101
+
These plugins can extend the functionality of the library, adding other ways for files/contexts to be resolved.
77
102
78
103
A plugin should be a `class` (or its ES5 equivalent) with an `apply` method. The `apply` method will receive a `resolver` instance, that can be used to hook in to the event system.
79
104
@@ -114,15 +139,15 @@ If you are using `webpack`, and you want to pass custom options to `enhanced-res
0 commit comments