From bfe3a5ad881afd18a8b91bc2dad343534894c49c Mon Sep 17 00:00:00 2001 From: Offspring Date: Mon, 21 Oct 2024 15:31:51 -0400 Subject: [PATCH] FIx Key "plugins": Cannot redefine plugin "import". when used in flat config --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 0ab82ebee..3b283ba4a 100644 --- a/src/index.js +++ b/src/index.js @@ -82,7 +82,7 @@ const importPlugin = { const createFlatConfig = (baseConfig, configName) => ({ ...baseConfig, name: `import/${configName}`, - plugins: { import: importPlugin }, + plugins: { 'import': importPlugin }, }); export const flatConfigs = {