svelte-bundler

📦 A zero-config CLI to bundle Svelte apps.

Travis Badge Coverage Status Version Downloads

This is a (mildly) opinionated and very lightweight Svelte compiler/bundler, which is meant to take some of the headaches out of setting up and configuring simple Svelte projects.

Differs from Sapper, which is more of a fully baked solution which includes SSR, routing and other goodies. This is more akin to the react-scripts used in create-react-app, where all of the config is hidden away so that you can just focus on building cool Svelte apps.

Notice: This is very much a work in progress right now, so feel free to contribute! We'd love to get some feedback and ideas!

Installation

Note: Currently requires NodeJS >= 8.16.0

yarn add -D svb

npm i -D svb

You could also install this globally:

yarn global add svb

npm i -g svb

This provides you with the global svb binary (as well as a svelte-bundler alias, in case you like typing).

Documentation

Please view the documentation here!


Created by Dave in 2019 ✌️

Top categories

Loading Svelte Themes