From 75505d6e40370f23d6dd47d540d879d8bb160042 Mon Sep 17 00:00:00 2001 From: ParamagicDev Date: Sat, 30 Jan 2021 13:08:42 -0500 Subject: [PATCH] prettier bullshit --- src/index.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/index.js b/src/index.js index c00a9cc..5a212f3 100644 --- a/src/index.js +++ b/src/index.js @@ -150,12 +150,14 @@ const plugin = (snowpackConfig, pluginOptions = {}) => { }); // Rewrite "proxy.js" imports prior to building - glob.sync(buildDirectory + "/**/*.js",{nodir: true}).forEach((file) => { - const resolvedImports = proxyImportResolver( - fs.readFileSync(file, "utf8") - ); - fs.writeFileSync(file, resolvedImports, "utf8"); - }); + glob + .sync(buildDirectory + "/**/*.js", { nodir: true }) + .forEach((file) => { + const resolvedImports = proxyImportResolver( + fs.readFileSync(file, "utf8") + ); + fs.writeFileSync(file, resolvedImports, "utf8"); + }); await rollupBuild(extendedConfig); },