1 | // @remove-on-eject-begin
|
2 | /**
|
3 | * Copyright (c) 2014-present, Facebook, Inc.
|
4 | *
|
5 | * This source code is licensed under the MIT license found in the
|
6 | * LICENSE file in the root directory of this source tree.
|
7 | */
|
8 | // @remove-on-eject-end
|
9 | ;
|
10 |
|
11 | // This is a custom Jest transformer turning style imports into empty objects.
|
12 | // http://facebook.github.io/jest/docs/en/webpack.html
|
13 |
|
14 | module.exports = {
|
15 | process() {
|
16 | return 'module.exports = {};';
|
17 | },
|
18 | getCacheKey() {
|
19 | // The output is always the same.
|
20 | return 'cssTransform';
|
21 | },
|
22 | };
|