snowpack-plugin-prefetch-data

A plugin to help you save API response as JSON during snowpack build.

Usage no npm install needed!

<script type="module">
  import snowpackPluginPrefetchData from 'https://cdn.skypack.dev/snowpack-plugin-prefetch-data';
</script>

README

snowpack-plugin-prefetch-data

A plugin to help you save API response as JSON during snowpack build.

This is particularly useful for Static Site Generator and reducing requests from being sent to server.

Installation

npm install snowpack-plugin-prefetch-data
yarn add snowpack-plugin-prefetch-data