天波用户运营管理后台系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

babel.config.js 769B

3 vuotta sitten
3 vuotta sitten
12345678910111213141516171819202122
  1. /*
  2. * @Date: 2021-11-30 15:35:16
  3. * @LastEditors: JinxuChen
  4. * @LastEditTime: 2022-01-08 15:26:58
  5. * @FilePath: \GpsCardAdmin\babel.config.js
  6. * @description:
  7. */
  8. module.exports = {
  9. presets: [
  10. // https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
  11. '@vue/cli-plugin-babel/preset',
  12. /* ["@vue/app", {useBuiltIns: "entry",}] */
  13. ],
  14. 'env': {
  15. 'development': {
  16. // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
  17. // This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
  18. // https://panjiachen.github.io/vue-element-admin-site/guide/advanced/lazy-loading.html
  19. 'plugins': ['dynamic-import-node']
  20. }
  21. }
  22. }