<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JavaScript functions on Hugo</title><link>https://v0-122-0--gohugoio.netlify.app/functions/js/</link><description>Recent content in JavaScript functions on Hugo</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://v0-122-0--gohugoio.netlify.app/functions/js/index.xml" rel="self" type="application/rss+xml"/><item><title>js.Build</title><link>https://v0-122-0--gohugoio.netlify.app/functions/js/build/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v0-122-0--gohugoio.netlify.app/functions/js/build/</guid><description>The js.Build function uses the evanw/esbuild package to:
Bundle Transpile (TypeScript and JSX) Tree shake Minify Create source maps {{ with resources.Get &amp;#34;js/main.js&amp;#34; }} {{ if hugo.IsDevelopment }} {{ with . | js.Build }} &amp;lt;script src=&amp;#34;{{ .RelPermalink }}&amp;#34;&amp;gt;&amp;lt;/script&amp;gt; {{ end }} {{ else }} {{ $opts := dict &amp;#34;minify&amp;#34; true }} {{ with . | js.Build $opts | fingerprint }} &amp;lt;script src=&amp;#34;{{ .RelPermalink }}&amp;#34; integrity=&amp;#34;{{ .Data.Integrity }}&amp;#34; crossorigin=&amp;#34;anonymous&amp;#34;&amp;gt;&amp;lt;/script&amp;gt; {{ end }} {{ end }} {{ end }} Options targetPath (string) If not set, the source path will be used as the base target path.</description></item></channel></rss>