mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-01-21 02:50:55 +01:00
15 lines
314 B
JavaScript
15 lines
314 B
JavaScript
|
"use strict";
|
||
|
|
||
|
// 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";
|
||
|
},
|
||
|
};
|