diff --git a/packages/create-umi/templates/plugin/tsconfig.json b/packages/create-umi/templates/plugin/tsconfig.json index 7a09abc32ddc..39c85e51844a 100644 --- a/packages/create-umi/templates/plugin/tsconfig.json +++ b/packages/create-umi/templates/plugin/tsconfig.json @@ -15,5 +15,6 @@ "isolatedModules": false, "noEmit": false, "declaration": true - } + }, + "include": ["src"] }