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
Copy file name to clipboardExpand all lines: README.md
+20-1
Original file line number
Diff line number
Diff line change
@@ -339,7 +339,26 @@ Contribution of more such shared configs for other platforms are welcome!
339
339
340
340
#### `import/external-module-folders`
341
341
342
-
An array of folders. Resolved modules only from those folders will be considered as "external". By default - `["node_modules"]`. Makes sense if you have configured your path or webpack to handle your internal paths differently and want to considered modules from some folders, for example `bower_components` or `jspm_modules`, as "external".
342
+
An array of folders. Resolved modules only from those folders will be considered as "external". By default - `["node_modules"]`. Makes sense if you have configured your path or webpack to handle your internal paths differently and want to consider modules from some folders, for example `bower_components` or `jspm_modules`, as "external".
343
+
344
+
This option is also useful in a monorepo setup: list here all directories that contain monorepo's
345
+
packages and they will be treated as external ones no matter which resolver is used.
346
+
347
+
Each item in this array is either a folder's name, its subpath, or its absolute prefix path:
348
+
349
+
- `jspm_modules`will match any file or folder named `jspm_modules` or which has a direct or
350
+
non-direct parent named `jspm_modules`, e.g. `/home/me/project/jspm_modules` or
0 commit comments