From 7fdf6f4ca85d4f7c25ca7952b6ec51f5cb059762 Mon Sep 17 00:00:00 2001 From: Sebastiaan Nijland <19267753+SebastiaanNijland@users.noreply.github.com> Date: Thu, 3 Jun 2021 13:46:38 +0200 Subject: [PATCH] chore: update readme example (#907) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e72ac70..f63ea7e0 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ For this, you can either use a combination of `test` and `not`, or [pass a funct { test: /\.m?js$/, exclude: { - test: /node_modules/, // Exclude libraries in node_modules ... + and: [/node_modules/], // Exclude libraries in node_modules ... not: [ // Except for a few of them that needs to be transpiled because they use modern syntax /unfetch/,