9 lines
255 B
JavaScript
9 lines
255 B
JavaScript
const { join, resolve } = require('path');
|
|
const { createTransformer } = require('babel-jest');
|
|
const packagePath = resolve('./');
|
|
|
|
const packageGlob = join(packagePath, 'packages/*');
|
|
|
|
module.exports = createTransformer({
|
|
babelrcRoots: packageGlob
|
|
});
|