Skip to content

How can I build the source version and deploy to my own server? #1992

Answered by Fil
FarhadG asked this question in Q&A
Discussion options

You must be logged in to vote
  • the build command transpiles the code to javascript and saves it to the dist/ folder
  • the docs:build command creates the documentation website and saves it to the docs/.observablehq/dist/ folder

If you are building the docs from this repo, you shouldn't need to build the code first, docs:build should reflect the changes you made both in the src/ and the docs/ directories.

Replies: 1 comment 2 replies

Comment options

Fil
Jun 6, 2025
Collaborator

You must be logged in to vote
2 replies
@FarhadG
Comment options

@Fil
Comment options

Fil Jun 6, 2025
Collaborator

Answer selected by FarhadG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants