Skip to content

Commit

Permalink
Fix params mistaking at prettier#9900
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Dec 16, 2020
1 parent cb6a977 commit bd5b3cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build/build.js
Expand Up @@ -94,8 +94,7 @@ async function createBundle(bundleConfig, cache, options) {
target === "universal"
) {
const esmFile = path.join("dist/esm", output.replace(".js", ".mjs"));
const esmContent = fs.readFileSync(esmFile, "utf8");
sizeTexts.push(`esm ${getSizeText(esmFile, esmContent)}`);
sizeTexts.push(`esm ${getSizeText(esmFile)}`);
}
process.stdout.write(
fitTerminal(output, sizeTexts.join(", ").concat(" "))
Expand Down

0 comments on commit bd5b3cf

Please sign in to comment.