snowpack.dev - Snowpack

Description: Snowpack is a lightning-fast frontend build tool, designed for the modern web.

Example domain paragraphs

Snowpack Press ⌘ and K to search v3.8.8 function handleMobileNav(evt) { evt.preventDefault(); /*If hidden-mobile class is enabled that means we are on desktop do overflow normal but we if we are at mobile fixed body position, so that its not scrollable(which currently causing bug) and navbar handling its owns scroll. Case to consider there are chance use can open navbar using toggle button and user when click on any link body postion should be unset */ document.body.classList.toggle('is-nav-open'); const is

import Clipboard from 'https://cdn.skypack.dev/pin/[email protected]/min/clipboard.js'; const clippy = new Clipboard('.copy-button'); const copyText = document.getElementById('copy-button').innerHTML; clippy.on('success', function (e) { document.getElementById('copy-button').style.minWidth = document.getElementById('copy-button').offsetWidth; console.info('Trigger:', e); document.getElementById('copy-button').innerHTML = ' copied to clipboard! '; document.getElementById('copy-button').ad

Check out Vite for a well-maintained Snowpack alternative. See also: esbuild , parcel

Links to snowpack.dev (15)