updated prettier config

This commit is contained in:
2022-06-09 11:49:13 -05:00
parent ba1ca2fc83
commit 6b5bf9783c
6 changed files with 28 additions and 17 deletions

View File

@@ -119,7 +119,7 @@ function runPostEsbuild(name, result, metaString, CLIArgs, PrettierConfig) {
else if (result.content) {
let content = metaString + result.content;
if (CLIArgs.prettier) {
content = (0, prettier_1.format)(content, PrettierConfig === null ? undefined : PrettierConfig);
content = (0, prettier_1.format)(content, PrettierConfig);
}
(0, fs_1.writeFileSync)(pathDist, content);
}