Config jest transform ignore path

This commit is contained in:
Wei Zhu 2017-08-18 15:56:26 +08:00
parent f56e1a7de7
commit 7b1df54523

View File

@ -2,7 +2,7 @@ const libDir = process.env.LIB_DIR;
const transformIgnorePatterns = [
'/dist/',
'/node_modules/',
'node_modules\/[^/]+?\/(?!(es|node_modules)\/)', // Ignore modules without es dir
];
module.exports = {