Skip to content
This repository was archived by the owner on Aug 11, 2019. It is now read-only.

Commit 19a60f1

Browse files
committed
discourage svelte-cli usage
1 parent 2acbd46 commit 19a60f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Command line interface for [Svelte](https://svelte.technology).
44

5+
## Why you shouldn't use this
6+
7+
`svelte-cli` is useful if you want to try out Svelte, but it's not recommended for serious production use. It will compile your components to standalone JavaScript files, but won't automatically recompile them when they change, and won't deduplicate code shared between your components.
8+
9+
Instead, we recommend using a bundler such as [Rollup](https://rollupjs.org) (with [rollup-plugin-svelte](https://github.com/rollup/rollup-plugin-svelte)), [Webpack](https://webpack.js.org) (with [svelte-loader](https://github.com/sveltejs/svelte-loader)), or another integration [listed here](https://github.com/sveltejs/svelte#svelte). [See here](https://svelte.technology/blog/the-easiest-way-to-get-started) for an easy get-started guide.
10+
511
## Installation
612

713
```bash

0 commit comments

Comments
 (0)