chore(hook): add babel pre-commit hook

This commit is contained in:
Dillon
2020-02-17 00:41:08 +08:00
parent 34cc26b94a
commit d87af71176
14 changed files with 3967 additions and 18 deletions

11
.babelrc Normal file
View File

@@ -0,0 +1,11 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": "> 0.25%, not dead"
}
],
"minify"
]
}