代码拉取完成,页面将自动刷新
同步操作将从 zouyaoji/vue-cesium 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-09-16 09:28:13
* @LastEditTime: 2023-10-24 15:26:22
* @LastEditors: zouyaoji 370681295@qq.com
* @Description:
* @FilePath: \vue-cesium@next\babel.config.js
*/
module.exports = {
// ATTENTION!!
// Preset ordering is reversed, so `@babel/typescript` will called first
// Do not put `@babel/typescript` before `@babel/env`, otherwise will cause a compile error
// See https://github.com/babel/babel/issues/12066
presets: [
[
'@babel/preset-env',
{
loose: false,
modules: false
}
],
'@babel/preset-typescript'
],
plugins: [
// Stage 0
// '@babel/plugin-proposal-function-bind',
// Stage 1
// '@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-logical-assignment-operators',
['@babel/plugin-proposal-optional-chaining', { loose: false }],
// ['@babel/plugin-proposal-pipeline-operator', { proposal: 'minimal' }],
['@babel/plugin-proposal-nullish-coalescing-operator', { loose: false }],
// '@babel/plugin-proposal-do-expressions',
// Stage 2
// ['@babel/plugin-proposal-decorators', { legacy: true }],
// '@babel/plugin-proposal-function-sent',
// '@babel/plugin-proposal-export-namespace-from',
// '@babel/plugin-proposal-numeric-separator',
// '@babel/plugin-proposal-throw-expressions',
// Stage 3
// '@babel/plugin-syntax-dynamic-import',
// '@babel/plugin-syntax-import-meta',
['@babel/plugin-proposal-class-properties', { loose: false }],
['@babel/plugin-proposal-private-methods', { loose: false }],
// '@babel/plugin-proposal-json-strings',
// other
'@vue/babel-plugin-jsx',
'@babel/transform-runtime'
],
overrides: [
{
test: /\.vue$/,
plugins: ['@babel/transform-typescript']
}
],
env: {
utils: {
ignore: ['**/*.test.ts', '**/*.spec.ts'],
presets: [
[
'@babel/preset-env',
{
loose: true,
modules: false
}
]
],
plugins: [
[
'babel-plugin-module-resolver',
{
root: ['vue-cesium'],
alias: {
'@vue-cesium': 'vue-cesium/lib'
}
}
]
]
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。