babel.config.js 282 B

123456789101112131415
  1. module.exports = {
  2. presets: [
  3. '@vue/app',
  4. [
  5. '@vue/babel-preset-jsx',
  6. {
  7. injectH: false
  8. }
  9. ]
  10. ],
  11. plugins: [
  12. 'transform-remove-strict-mode' // 配置插件,这里很重要
  13. ],
  14. ignore: ['./public/Voice/*.js', './src/layout/js/*.js']
  15. }