From c4e8fd4c4e628d82fae0b8e26b8db089dcde32bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Wed, 26 Mar 2025 15:19:50 +0100 Subject: [PATCH] better cache context --- packages/babel-compiler/babel-compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-compiler/babel-compiler.js b/packages/babel-compiler/babel-compiler.js index 9d928d6bd8..09d680c19e 100644 --- a/packages/babel-compiler/babel-compiler.js +++ b/packages/babel-compiler/babel-compiler.js @@ -157,7 +157,7 @@ BCp.processOneFileForTarget = function (inputFile, source) { if (shouldUseSwc) { // Create a cache key based on the source hash and the compiler used. const cacheKey = toBeAdded.hash; - const cacheContext = 'swc-cache'; + const cacheContext = '.swc-cache'; // Check RAM cache compilation = self._swcCache[cacheKey];