From eae19e8252fa5cb95e4f99ab776e3c1ca207ad80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Mon, 8 Jul 2024 14:39:41 +0200 Subject: [PATCH] :paperclip: Remove leftover code --- frontend/scripts/_helpers.js | 10 ---------- frontend/scripts/compile.js | 3 --- 2 files changed, 13 deletions(-) diff --git a/frontend/scripts/_helpers.js b/frontend/scripts/_helpers.js index ce6397e47..8e764da9f 100644 --- a/frontend/scripts/_helpers.js +++ b/frontend/scripts/_helpers.js @@ -105,16 +105,6 @@ export async function compileSassAll(worker) { ); } -function compare(a, b) { - if (a < b) { - return -1; - } else if (a > b) { - return 1; - } else { - return 0; - } -} - export function concatSass(data) { const output = []; diff --git a/frontend/scripts/compile.js b/frontend/scripts/compile.js index 8ee6dc977..902f4c39e 100644 --- a/frontend/scripts/compile.js +++ b/frontend/scripts/compile.js @@ -1,6 +1,3 @@ -import fs from "node:fs/promises"; -import ppt from "pretty-time"; -import log from "fancy-log"; import * as h from "./_helpers.js"; await h.compileStyles();