From 73d81b1ec7da2c31fc882cd24e06a52250681438 Mon Sep 17 00:00:00 2001 From: gtmnayan Date: Sat, 15 Apr 2023 18:55:53 +0545 Subject: [PATCH] formatting --- rollup.config.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rollup.config.mjs b/rollup.config.mjs index a294548523..9269a1f07c 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -72,16 +72,15 @@ export default [ { writeBundle(_options, bundle) { for (const [_, entry] of Object.entries(bundle)) { - let dir = entry.name; + const dir = entry.name; if (!entry.isEntry || !runtime_entrypoints[dir]) continue; if (dir === "internal") { const mod = bundle[`internal/index.mjs`]; if (mod) { fs.writeFileSync( "src/compiler/compile/internal_exports.ts", - `// This file is automatically generated\nexport default new Set(${JSON.stringify( - mod.exports - )});` + `// This file is automatically generated` + + `export default new Set(${JSON.stringify(mod.exports)});` ); } }