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