mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 23:38:07 +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);
|