import type { GatsbyNode } from 'gatsby' ; export const onCreateBabelConfig = ( { actions , } ) => { actions . setBabelPlugin ( { name : require . resolve ( '@babel/plugin-transform-react-jsx' ) , options : { runtime : 'automatic' , } , } ) ; actions . setBabelPlugin ( { name : require . resolve ( 'babel-plugin-polished' ) , options : { } , } ) ; } ;