Version: v0.7.0 - Beta.  We welcome contributors & feedback.


Web.jsLink($jsUrl) -> HtmlString


Return a <script> tag for the given URL.

If the URL is a local path, the file will be minified and gzip compressed (optimizing up to 75% over the wire), and a cache timestamp will be appended to the query string.

This can be changed with the compressAssets configuration.

The tag contains a nonce parameter to conform to the CSP security protocol.


//= <script src="/js/app.js.min.gz?v=345251" nonce="gdfw23sdshjsd..."></script>

See Also