Skip to content

Commit 65b96aa

Browse files
authored
Update module.md
Wrong example: `backbone` package should be parsed as long as it depends on the `underscore` package. We could `noParse` only those packages which have no dependencies (or at least do not require them).
1 parent 6a803a5 commit 65b96aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/configuration/module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ These options determine how the [different types of modules](/concepts/modules)
1616
Prevent webpack from parsing any files matching the given regular expression(s). Ignored files **should not** have calls to `import`, `require`, `define` or any other importing mechanism. This can boost build performance when ignoring large libraries.
1717

1818
```js
19-
noParse: /jquery|backbone/
19+
noParse: /jquery|lodash/
2020
```
2121

2222
## `module.rules`

0 commit comments

Comments
 (0)