Commit 74b257b7 authored by peterh-gr's avatar peterh-gr
Browse files

Separated JS build from lektor build

Hiro is having problems getting the build machine to work with node
and/or yard, so this sets things up so we can build the JS on dev
machines and check that in and then have the lektor build just use the
JS from the repository instead of trying to build it on the build
parent 9b4883d3
......@@ -85,6 +85,3 @@ company-statistics-cache.el
# anaconda-mode
# parcel
......@@ -46,7 +46,11 @@ You can click ```Edit this page``` and submit your content changes in a [Pull Re
To run a local continuous builder: ```$ LEKTOR_ENV=dev lektor server -f npm```
To just build the website once: ```$ LEKTOR_ENV=prod lektor build -f npm -O <folder>```
To build the JS before commiting changes to the JS: ```$ cd parcel && yarn build```
That will build the JS into assets/static/gen which should be commited to the repository and will be used for the build of the static website.
To just build the website once: ```$ LEKTOR_ENV=prod lektor build -O <folder>```
#### How to develop on the website
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
"systemParams": "linux-x64-72",
"systemParams": "linux-x64-64",
"modulesFolders": [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment