babel-loader cacheDirectory does not invalidate on Babel config changes
When using babel-loader with the cacheDirectory option enabled, the loader creates a cache entry based on a hash of the source file’s content and the resolved Babel configuration. If the Babel configuration (e.g., plugin options or presets) changes while the source file’s content and modification time remain unchanged, the existing cache entry may be reused,