JB1905 / snowpack

πŸ“¦βœ¨ Build web applications with less tooling and 10x faster iteration. No bundler required.

Home Page:https://www.snowpack.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

Snowpack
Build web applications with less tooling and 10x faster iteration. No bundler required.

npm install --save-dev snowpack
  1. Instead of bundling on every change, just run Snowpack once right after npm install.
  2. Snowpack re-installs your dependencies as single JS files to a new web_modules/ directory.
    ↣ Snowpack never touches your source code.
  3. Build your app, import those dependencies via an ESM import, and then run it all in the browser.
  4. Skip the bundle step and see your changes reflected in the browser immediately after hitting save.
  5. Keep using your favorite web frameworks and build tools! Babel & TypeScript supported.

πŸ’ More info at the official Snowpack website ➞

Examples

πŸ†• Check out snowpack-init! Instantly bootstrap a starter app with Snowpack + Preact, Lit-HTML, TypeScript, and more.

Contributors Welcome!

Interested in contributing? We'd love your help! Our issue tracker is always organized with high-proirity bugs, feature requests, and "help wanted!"/"good first issue" items. For other threads, check out our Package Community for general package troubleshooting and discussions.

# Local Setup
git clone ${REPO}
npm install
# Build after every change
npm run build
# Run the built package directly by path, in some sibling project
../pkg/dist-node/index.bin.js 
# Or, link the built package to run via CLI in any directory
cd pkg && npm link
snowpack

About

πŸ“¦βœ¨ Build web applications with less tooling and 10x faster iteration. No bundler required.

https://www.snowpack.dev

License:MIT License


Languages

Language:JavaScript 91.7%Language:TypeScript 4.0%Language:CSS 2.4%Language:HTML 2.0%