加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
babel.config.js 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
Eddie 提交于 2024-05-01 16:29 . 🎃 初始化提交
/*
* Copyright Statement and License Information for Virtual Coffee Kafeih.com Community
*
* Copyright Owner:Kafeih.com Community and its contributors, since the inception of the project.
*
* License Type:All code, documentation, and design works related to the Kafeih.com Community are licensed under the GNU Affero General Public License (AGPL) v3 or any later version.
*
* Use and Distribution:You are free to use, copy, modify, and distribute the code, documentation, and design works of the Kafeih.com Community, subject to the following conditions:
*
* 1. You must include the original copyright and license notices in all copies distributed or made publicly available.
* 2. If you modify the code or design, or derive new works from those provided by the community, you must release these modifications or derivative works under the terms of the AGPLv3 license.
* 3. Important Note: If you use the code or design of this community to provide network services, you must ensure that all users accessing the service through the network can access the corresponding source code.
*
* No Warranty:The Kafeih.com Community and its code, documentation, and design works are provided "as is" without any warranty, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement.
*
* License Acquisition:The complete text of the GNU Affero General Public License (AGPL) v3 can be found on the GNU official website.
*
* Please note that the above statement only applies to the Kafeih.com Community and the code, documentation, and design works provided by it. Third-party links or resources may be subject to different licenses from their respective owners or publishers. When using these resources, please be sure to comply with the terms of their respective licenses.
*/
module.exports = {
presets: [
'@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']
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化