babel.config.js 333 B

123456789101112
  1. // babel.config.js
  2. module.exports = {
  3. presets: [
  4. ['@babel/preset-env', { targets: { node: 'current' } }],
  5. '@babel/preset-typescript',
  6. '@babel/preset-react'
  7. ],
  8. plugins: [
  9. ['babel-plugin-import-graphql', { runtime: true }],
  10. ['babel-plugin-styled-components', { displayName: true, fileName: false }],
  11. ],
  12. }