2
0
mirror of https://github.com/status-im/sourcecred.git synced 2025-01-27 04:46:13 +00:00
sourcecred/config/jest/cssTransform.js

14 lines
308 B
JavaScript
Raw Normal View History

// @flow
// This is a custom Jest transformer turning style imports into empty objects.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process() {
return "module.exports = {};";
},
getCacheKey() {
// The output is always the same.
return "cssTransform";
},
};