Skip to content

Commit 7fdf6f4

Browse files
chore: update readme example (#907)
1 parent f3538d0 commit 7fdf6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ For this, you can either use a combination of `test` and `not`, or [pass a funct
110110
{
111111
test: /\.m?js$/,
112112
exclude: {
113-
test: /node_modules/, // Exclude libraries in node_modules ...
113+
and: [/node_modules/], // Exclude libraries in node_modules ...
114114
not: [
115115
// Except for a few of them that needs to be transpiled because they use modern syntax
116116
/unfetch/,

0 commit comments

Comments
 (0)