blog-boot/ruoyi-ui/babel.config.js
dataprince 06a7540d4d Ruoyi-Flex前后端分离系统v4正式发布
基于RuoYi-Vue v3.8.6进行了扩展
引入mybatis-flex框架,与mybatis和平共处
maven仓库从阿里切换到华为
2023-07-05 11:40:25 +08:00

13 lines
462 B
JavaScript

module.exports = {
presets: [
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
'@vue/cli-plugin-babel/preset'
],
'env': {
'development': {
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
'plugins': ['dynamic-import-node']
}
}
}