diff --git a/static/transforms/index.js b/static/transforms/index.js index ad5b27387..5b46fec8d 100644 --- a/static/transforms/index.js +++ b/static/transforms/index.js @@ -99,6 +99,10 @@ function transform({filename, options, src}) { module.exports = { transform, + // Disable caching of babel transforms all together. We haven't found a good + // way to cache our transforms, as they rely on side effects like env vars or + // the existence of folders in the file system. + getCacheKey: () => Math.random().toString(36), process(src, filename, config, options) { return transform({ src,