From 6b2d6622b715e95b914b14df17501cc486ec45f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Steunou?= Date: Mon, 27 Sep 2021 18:37:57 +0200 Subject: [PATCH] fix: Add missing babel properties to config validation (#1135) --- packages/conf/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/conf/src/index.ts b/packages/conf/src/index.ts index ca1d740f9..0a75eb4d7 100644 --- a/packages/conf/src/index.ts +++ b/packages/conf/src/index.ts @@ -183,6 +183,10 @@ const exampleConfig = { rootMode: "rootmode", plugins: ["plugin"], presets: ["preset"], + targets: multipleValidOptions({}, '> 0.5%', ['> 0.5%', 'not dead'], undefined), + assumptions: multipleValidOptions({}, undefined), + browserslistConfigFile: multipleValidOptions(true, undefined), + browserslistEnv: multipleValidOptions('.browserslistrc', undefined), }, }