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];