mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
17 lines
357 B
JavaScript
17 lines
357 B
JavaScript
'use strict';
|
|
|
|
const babelOptions = {
|
|
presets: [
|
|
'@babel/react',
|
|
'@babel/env',
|
|
'babel-preset-gatsby'
|
|
],
|
|
plugins: [
|
|
'@babel/plugin-proposal-optional-chaining',
|
|
'@babel/plugin-proposal-class-properties',
|
|
'@babel/plugin-transform-flow-strip-types',
|
|
],
|
|
};
|
|
|
|
module.exports = require('babel-jest').createTransformer(babelOptions);
|