From ed8bae73ab4d51d754b5d1393449fe18c4efdf70 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 10 Jan 2024 17:21:08 +0100 Subject: [PATCH] Update 01_Development.md Signed-off-by: Dennis Eichhorn --- Processes/01_Development.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Processes/01_Development.md b/Processes/01_Development.md index bdae55f..4dfec46 100644 --- a/Processes/01_Development.md +++ b/Processes/01_Development.md @@ -109,13 +109,15 @@ If a developer (or employee in general) has an idea for an improvement, feature ### Release flow -In case scss/css or js files got changed they must get re-built locally before comitting the code change: +In case SCSS/CSS or JS files got changed they must get re-built locally before comitting the code change: ```sh -npx esbuild Web/Frontend/js/frontend.js --bundle --outfile=privateSetup/cms/Frontend/js/frontend.min.js --minify && npx esbuild Web/Backend/js/backend.js --bundle --outfile=Install/Application/Backend/js/backend.min.js --minify && cp Install/Application/Backend/js/backend.min.js Web/Backend/js/backend.min.js +npx esbuild Web/Backend/js/backend.js --bundle --outfile=Install/Application/Backend/js/backend.min.js --minify scss cssOMS/styles.scss > cssOMS/styles.css ``` +For JS you may also use the shorthand command `npm run build`. + Code changes must be performed in a new branch. A new branch can be created with: ```sh