1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-04-07 07:21:17 +08:00
storybook/scripts/utils/jest-transform-js.js

7 lines
180 B
JavaScript

const path = require('path');
const babelJest = require('babel-jest');
module.exports = babelJest.createTransformer({
configFile: path.resolve(__dirname, '..', '.babelrc'),
});