From b220f4a980935fe765ba11214046d4ade5f04210 Mon Sep 17 00:00:00 2001 From: Camillo Bruni Date: Tue, 26 Aug 2025 14:03:40 +0200 Subject: [PATCH] convert to esm --- startup-helper/{BabelCacheBuster.js => BabelCacheBuster.mjs} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename startup-helper/{BabelCacheBuster.js => BabelCacheBuster.mjs} (95%) diff --git a/startup-helper/BabelCacheBuster.js b/startup-helper/BabelCacheBuster.mjs similarity index 95% rename from startup-helper/BabelCacheBuster.js rename to startup-helper/BabelCacheBuster.mjs index 9c28bdb9..f744d4a6 100644 --- a/startup-helper/BabelCacheBuster.js +++ b/startup-helper/BabelCacheBuster.mjs @@ -1,7 +1,7 @@ // Babel plugin that adds CACHE_BUST_COMMENT to every function body. const CACHE_BUST_COMMENT = "ThouShaltNotCache"; -module.exports = function ({ types: t }) { +export default function({ types: t }) { return { visitor: { Function(path) {