From 4b9d12a13bbb56fa6c5f9da37bef4172512e47ec Mon Sep 17 00:00:00 2001 From: kreuzerk Date: Tue, 14 Jun 2022 14:54:22 +0200 Subject: [PATCH] fix(compilation): adjust generated UMD output directory --- src/lib/converters/files.converter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/converters/files.converter.ts b/src/lib/converters/files.converter.ts index 0a5e4ea..2b6d677 100644 --- a/src/lib/converters/files.converter.ts +++ b/src/lib/converters/files.converter.ts @@ -233,7 +233,7 @@ const compileTypeScriptToJS = async ( break; case SVG_TO_TS_COMPILATION_OUTPUT.ESM_AND_UMD: compileToEsNext(generatedTypeScriptFilePaths, `${outputDirectory}/esm`); - compileToUMD(generatedTypeScriptFilePaths, `${outputDirectory}/cjs`); + compileToUMD(generatedTypeScriptFilePaths, `${outputDirectory}/umd`); deleteFiles(generatedTypeScriptFilePaths); await deleteFolder(`${outputDirectory}/build`); break;