const babel = require('@babel/core')
const config = require('./babel.config.js')

module.exports.process = (src, filename) => {
  console.log({ config, filename })
  const final = babel.transformSync(src, { ...test, filename }).code
  return final
}
