babel.config.js 264 B

123456789101112131415
  1. module.exports = {
  2. presets: ['@vue/app'],
  3. plugins: [
  4. [
  5. 'import',
  6. {
  7. libraryName: 'vant',
  8. libraryDirectory: 'es',
  9. style: true
  10. },
  11. 'vant'
  12. ]
  13. ]
  14. }