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
| alias |[]| A list of module alias configurations or an object which maps key to value |
91
-
| aliasFields |[]| A list of alias fields in description files |
92
-
| extensionAlias | {} | An object which maps extension to extension aliases |
93
-
| cachePredicate | function() { return true }; | A function which decides whether a request should be cached or not. An object is passed to the function with `path` and `request` properties. |
94
-
| cacheWithContext | true | If unsafe cache is enabled, includes `request.context` in the cache key |
95
-
| conditionNames |[]| A list of exports field condition names |
96
-
| descriptionFiles |["package.json"]| A list of description files to read from |
97
-
| enforceExtension | false | Enforce that a extension from extensions must be used |
98
-
| exportsFields |["exports"]| A list of exports fields in description files |
99
-
| extensions |[".js", ".json", ".node"]| A list of extensions which should be tried for files |
100
-
| fallback |[]| Same as `alias`, but only used if default resolving fails |
101
-
| fileSystem || The file system which should be used |
102
-
| fullySpecified | false | Request passed to resolve is already fully specified and extensions or main files are not resolved for it (they are still resolved for internal requests) |
103
-
| mainFields |["main"]| A list of main fields in description files |
104
-
| mainFiles |["index"]| A list of main files in directories |
105
-
| modules |["node_modules"]| A list of directories to resolve modules from, can be absolute path or folder name |
106
-
| plugins |[]| A list of additional resolve plugins which should be applied |
107
-
| resolver | undefined | A prepared Resolver to which the plugins are attached |
108
-
| resolveToContext | false | Resolve to a context instead of a file |
109
-
| preferRelative | false | Prefer to resolve module requests as relative request and fallback to resolving as module |
110
-
| preferAbsolute | false | Prefer to resolve server-relative urls as absolute paths before falling back to resolve in roots |
111
-
| restrictions |[]| A list of resolve restrictions |
112
-
| roots |[]| A list of root paths |
113
-
| symlinks | true | Whether to resolve symlinks to their symlinked location |
114
-
| unsafeCache | false | Use this cache object to unsafely cache the successful requests |
| alias |[]| A list of module alias configurations or an object which maps key to value |
91
+
| aliasFields |[]| A list of alias fields in description files |
92
+
| extensionAlias | {} | An object which maps extension to extension aliases |
93
+
| cachePredicate | function() { return true }; | A function which decides whether a request should be cached or not. An object is passed to the function with `path` and `request` properties. |
94
+
| cacheWithContext | true | If unsafe cache is enabled, includes `request.context` in the cache key |
95
+
| conditionNames |[]| A list of exports field condition names |
96
+
| descriptionFiles |["package.json"]| A list of description files to read from |
97
+
| enforceExtension | false | Enforce that a extension from extensions must be used |
98
+
| exportsFields |["exports"]| A list of exports fields in description files |
99
+
| extensions |[".js", ".json", ".node"]| A list of extensions which should be tried for files |
100
+
| fallback |[]| Same as `alias`, but only used if default resolving fails |
101
+
| fileSystem || The file system which should be used |
102
+
| fullySpecified | false | Request passed to resolve is already fully specified and extensions or main files are not resolved for it (they are still resolved for internal requests) |
103
+
| mainFields |["main"]| A list of main fields in description files |
104
+
| mainFiles |["index"]| A list of main files in directories |
105
+
| modules |["node_modules"]| A list of directories to resolve modules from, can be absolute path or folder name |
106
+
| plugins |[]| A list of additional resolve plugins which should be applied |
107
+
| resolver | undefined | A prepared Resolver to which the plugins are attached |
108
+
| resolveToContext | false | Resolve to a context instead of a file |
109
+
| preferRelative | false | Prefer to resolve module requests as relative request and fallback to resolving as module |
110
+
| preferAbsolute | false | Prefer to resolve server-relative urls as absolute paths before falling back to resolve in roots |
111
+
| restrictions |[]| A list of resolve restrictions |
112
+
| roots |[]| A list of root paths |
113
+
| symlinks | true | Whether to resolve symlinks to their symlinked location |
114
+
| tsconfig | false | TypeScript config for paths mapping. Can be `false` (disabled), a string path to `tsconfig.json`, or an object with `configFile` and `references` options. |
115
+
| tsconfig.configFile | tsconfig.json | Path to the tsconfig.json file |
116
+
| tsconfig.references |[]| Project references. `'auto'` to load from tsconfig, or an array of paths to referenced projects |
117
+
| unsafeCache | false | Use this cache object to unsafely cache the successful requests |
0 commit comments