mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-17 21:24:59 +00:00
move old docs over
This commit is contained in:
15
site/content/docs/09-building.md
Normal file
15
site/content/docs/09-building.md
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Building
|
||||
---
|
||||
|
||||
Up until now we've been using `sapper dev` to build our application and run a development server. But when it comes to production, we want to create a self-contained optimized build.
|
||||
|
||||
### sapper build
|
||||
|
||||
This command packages up your application into the `__sapper__/build` directory. (You can change this to a custom directory, as well as controlling various other options — do `sapper build --help` for more information.)
|
||||
|
||||
The output is a Node app that you can run from the project root:
|
||||
|
||||
```bash
|
||||
node __sapper__/build
|
||||
```
|
||||
Reference in New Issue
Block a user