chore: Use webpack to build production version
This commit is contained in:
13
Justfile
13
Justfile
@@ -3,9 +3,12 @@ host := "chimaera.malzahn.lan"
|
||||
www-root := "/home/admin/caddy/public_html/fabula"
|
||||
|
||||
serve:
|
||||
python3 -m http.server
|
||||
npm run dev
|
||||
|
||||
deploy:
|
||||
scp fabula-ultima-sheet.html {{ user }}@{{ host }}:{{ www-root }}/index.html
|
||||
scp fabula-ultima-sheet.css {{ user }}@{{ host }}:{{ www-root }}/fabula-ultima-sheet.css
|
||||
scp fabula-ultima-sheet.js {{ user }}@{{ host }}:{{ www-root }}/fabula-ultima-sheet.js
|
||||
deploy: build
|
||||
scp dist/index.html {{ user }}@{{ host }}:{{ www-root }}/index.html
|
||||
scp dist/bundle.*.js {{ user }}@{{ host }}:{{ www-root }}/
|
||||
scp dist/styles.*.css {{ user }}@{{ host }}:{{ www-root }}/
|
||||
|
||||
build:
|
||||
npm run build
|
||||
|
||||
Reference in New Issue
Block a user