mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #8622 from bvaughn/preproccessor-jest-cching
Jest preprocessor better aware of error-codes/codes.json WRT caching
This commit is contained in:
@@ -23,6 +23,7 @@ var pathToModuleMap = require.resolve('fbjs/module-map');
|
||||
var pathToBabelPluginDevWithCode = require.resolve('../error-codes/dev-expression-with-codes');
|
||||
var pathToBabelPluginModules = require.resolve('fbjs-scripts/babel-6/rewrite-modules');
|
||||
var pathToBabelrc = path.join(__dirname, '..', '..', '.babelrc');
|
||||
var pathToErrorCodes = require.resolve('../error-codes/codes.json');
|
||||
|
||||
// TODO: make sure this stays in sync with gulpfile
|
||||
var babelOptions = {
|
||||
@@ -71,5 +72,6 @@ module.exports = {
|
||||
pathToModuleMap,
|
||||
pathToBabelPluginDevWithCode,
|
||||
pathToBabelPluginModules,
|
||||
pathToErrorCodes,
|
||||
]),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user