Build scripts for use with create-electrojet

Usage no npm install needed!

<script type="module">
  import electrojetSvelte from 'https://cdn.skypack.dev/@electrojet/svelte';


Electrojet Svelte

npm version

A CLI extension for running Svelte applications generated by create-electrojet


1. Start

Starts a development server using webpack.

electrojet-svelte start --port=4567

Port is defaulted to 4567.

Starts up webpack-dev-server process for serving your application.

2. Build

Builds the application to the dist directory.

electrojet-svelte build

If you want to build for a specific package, edit the configuration at electrojet.config.js. Check out Electrojet CLI for usage.