How can I build production level deb package after customizing Cockpit? #20470
Answered by
martinpitt
May 23, 2024
Replies: 1 comment
|
make-debs uses an existing dist/, so if you want a production build, do However: |
0 replies
Answer selected by
martinpitt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

make-debs uses an existing dist/, so if you want a production build, do
NODE_ENV=production ./build.jsfirst.However:
tools/make-debsapplies to cockpit itself. Your screenshot shows cockpit-machines, which is a separate project/package. So presumably that's loaded from /usr/local/share/cockpit/machines, or possibly from your home dir? (Same thing though:NODE_ENV=production ./build.js)