cssTransform.js 676 Bytes
Newer Older
1
// @remove-on-eject-begin
Christoph Pojer's avatar
Christoph Pojer committed
2
3
4
5
6
7
8
/**
 * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */
9
// @remove-on-eject-end
10
'use strict';
Christoph Pojer's avatar
Christoph Pojer committed
11

12
13
14
15
16
17
18
// This is a custom Jest transformer turning style imports into empty objects.
// http://facebook.github.io/jest/docs/tutorial-webpack.html

module.exports = {
  process() {
    return 'module.exports = {};';
  },
19
  getCacheKey() {
20
21
22
23
    // The output is always the same.
    return 'cssTransform';
  },
};