@architect/proxy-plugin-html-urls

adds /staging and /production to html elements

Usage no npm install needed!

<script type="module">
  import architectProxyPluginHtmlUrls from 'https://cdn.skypack.dev/@architect/proxy-plugin-html-urls';
</script>

README

@architect/proxy-plugin-html-urls

Currently supports adding /staging and /production to the following elements:

  • a.href
  • form.action
  • img.src
  • link.href
  • script.src
  • iframe.src