lektor / lektor-website

The main lektor website.
https://www.getlektor.com/
Other
160 stars 134 forks source link

We should probably build the webpack-generated resources as part of our deployment workflow #356

Closed dairiki closed 1 year ago

dairiki commented 1 year ago

We should probably build the webpack-generated resources as part of our deployment workflow (see deploy.yml).

This would ensure that the web assets are always in sync with the sources in our webpack subdirectory. (E.g. we could just merge dependabot PRs like #355 without having to manually run webpack afterwards.)

This is probably as simple as setting up Node, then adding -f webpack to the lektor build command.

If/when we do this, we should perhaps remove the built resources from version control (since they will be overwritten on every deployment anyway).