mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 14:46:37 -04:00
compile typescript before hitting babel
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{{ $js := resources.Get "js/_bundle.js" | js.Build (dict "targetPath" "/js/app.js") | resources.Babel (dict "config" "babel.config.json" "noComments" true) }}
|
||||
{{ $js := resources.Get "js/_entry.ts" | js.Build (dict "targetPath" "/js/app.js") | resources.Babel (dict "config" "babel.config.json" "noComments" true) }}
|
||||
|
||||
{{- .Scratch.Set "bundlePermalink" $js.Permalink -}}
|
||||
|
||||
|
Reference in New Issue
Block a user