mirror of
https://github.com/Karaka-Management/Organization-Guide.git
synced 2026-02-09 01:18:39 +00:00
Update 01_Development.md
Signed-off-by: Dennis Eichhorn <spl1nes.com@googlemail.com>
This commit is contained in:
parent
1f448a1894
commit
ed8bae73ab
|
|
@ -109,13 +109,15 @@ If a developer (or employee in general) has an idea for an improvement, feature
|
||||||
|
|
||||||
### Release flow
|
### 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
|
```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
|
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:
|
Code changes must be performed in a new branch. A new branch can be created with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user