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.

28 lines
876 B

/*
* @Author: hkh 838374358@qq.com
* @Date: 2023-05-03 12:51:44
* @LastEditors: hkh 838374358@qq.com
* @LastEditTime: 2023-05-04 14:06:44
* @FilePath: \demo-template---vue3\babel.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
module.exports = {
presets: [
"@vue/cli-plugin-babel/preset",
[
"@babel/preset-env",
{
useBuiltIns: "entry",
corejs: "3.22",
},
],
],
plugins: [
"ramda",
["@babel/plugin-proposal-decorators", { legacy: true }],
"@babel/plugin-proposal-private-methods",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
],
};