const fs = require('fs')
const path = require('path')
const babel = require('@babel/core')

babel.transformFile(path.join(__dirname, '../src/test/test.js'), {
  presets: [
    [
      '@babel/preset-env',
      {
        targets: {
          browsers: ['edge >= 15']
        },
        modules: false,
        useBuiltIns: false
      }
    ]
  ],
  plugins: ['for-zving-project', 'transform-vue-jsx', '@babel/plugin-syntax-dynamic-import']
}, (nul,result,c)=>{
  console.log(nul,result)
});