1 Star 1 Fork 30

fofo / NaiveUI

forked from Gitee 极速下载 / NaiveUI 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
babel.config.js 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
// the file is used for jest testing & site building
// > 2%, make template string not compiled to concat, since it's not fast
module.exports = {
presets:
process.env.NODE_ENV === 'test'
? [
['@babel/preset-env', { targets: { node: 'current' } }],
[
'@babel/preset-typescript',
{
allExtensions: true,
isTSX: true,
jsxPragma: 'h',
jsxPragmaFrag: 'Fragment'
}
],
[
'@babel/preset-react',
{
pragma: 'h',
pragmaFrag: 'Fragment'
}
]
]
: [
[
'@babel/preset-env',
{
targets: '>2%, not IE 11'
}
]
]
}
TypeScript
1
https://gitee.com/wswhq/NaiveUI.git
git@gitee.com:wswhq/NaiveUI.git
wswhq
NaiveUI
NaiveUI
dependabot/npm_and_yarn/eslint-config-standard-with-typescript-20.0.0

搜索帮助

53164aa7 5694891 3bd8fe86 5694891