We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6554ad5 commit 6740207Copy full SHA for 6740207
packager/react-packager/src/Bundler/index.js
@@ -179,7 +179,10 @@ class Bundler {
179
}
180
181
182
- const transformCacheKey = cacheKeyParts.join('$');
+ const transformCacheKey = crypto.createHash('sha1').update(
183
+ cacheKeyParts.join('$'),
184
+ ).digest('hex');
185
+
186
this._cache = new Cache({
187
resetCache: opts.resetCache,
188
cacheKey: transformCacheKey,
0 commit comments