From 2ba852f55658c0b6ccd5443a6b61fa2bcd08eb37 Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Fri, 10 May 2024 16:32:05 -0300 Subject: [PATCH] run prettier --- frontend/next.config.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index 4c300ee..65a7cca 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -31,15 +31,13 @@ module.exports = withBundleAnalyzer({ } config.experiments = { asyncWebAssembly: true, layers: true } - const fileLoaderRule = config.module.rules.find( - (rule) => { - if (rule && Array.isArray(rule.test)) { - return rule.test.find((test) => test.test('.svg')) - } else if (rule && rule.test instanceof RegExp) { - return rule.test.test('.svg') - } + const fileLoaderRule = config.module.rules.find((rule) => { + if (rule && Array.isArray(rule.test)) { + return rule.test.find((test) => test.test('.svg')) + } else if (rule && rule.test instanceof RegExp) { + return rule.test.test('.svg') } - ) + }) fileLoaderRule.exclude = /\.inline\.svg$/ config.module.rules.push({ test: /\.inline\.svg$/,