代码拉取完成,页面将自动刷新
同步操作将从 傅景川/Davinci-webApp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = {
ignore: [
/[\\\/]core-js/,
/webpack[\\\/]buildin/
],
overrides: [{
test: "./node_modules",
}],
sourceType: "unambiguous",
presets: [
[
'@babel/preset-env',
{
modules: false,
useBuiltIns: 'usage',
corejs: {
version: 3,
proposals: true
},
targets: {
"chrome": 58,
"ie": 11
}
}
],
'@babel/preset-react',
'@babel/preset-typescript'
],
plugins: [
'react-hot-loader/babel',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-optional-chaining',
["import", {
"libraryName": "antd",
"libraryDirectory": "es",
"style": true
}],
["transform-imports", {
"react-router": {
"transform": "react-router/${member}",
"preventFullImport": true
},
"lodash": {
"transform": "lodash/${member}",
"preventFullImport": true
}
}]
],
env: {
production: {
only: ['app', 'libs', 'share'],
plugins: [
'lodash',
'transform-react-remove-prop-types',
// '@babel/plugin-transform-react-inline-elements',
'@babel/plugin-transform-react-constant-elements'
]
},
test: {
plugins: [
'@babel/plugin-transform-modules-commonjs',
'dynamic-import-node'
]
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。