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

View File

@@ -151,9 +151,6 @@
{{- end -}}
{{- end -}}
{{- /* Theme script */ -}}
{{- slice "js/theme.js" | .Scratch.Add "scriptLocal" -}}
{{- range .Scratch.Get "linkCDN" -}}
{{- safeHTML . -}}
{{- end -}}
@@ -178,3 +175,6 @@
{{- end -}}
<script src="{{ $res.RelPermalink }}"></script>
{{- end -}}
{{- /* Theme script */ -}}
<script src=/js/theme.min.js></script>