From 2c54faed7d84eeffda69a31529c693ff5054a6ce Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 22 Feb 2023 16:45:15 +0800 Subject: [PATCH] fix: fix printInstructions createCompilerOption options issue. --- core/src/overrides/printInstructions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/overrides/printInstructions.ts b/core/src/overrides/printInstructions.ts index 414fba23..51e45389 100644 --- a/core/src/overrides/printInstructions.ts +++ b/core/src/overrides/printInstructions.ts @@ -27,7 +27,7 @@ export function overridesPrintInstructions(opt: OverridesPrintInstructionsOption } if (opt.docs && opt.printInstructions) { const docData = getDocsData(opt.docs); - opt.printInstructions({ ...opt, ...docData }); + opt.printInstructions({ ...opt, ...docData, createCompilerOption: option }); } return createCompiler(option); };