-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
esbuild + shell scripts are much simpler and faster. Also added self-signed certs for https in nginx
- Loading branch information
1 parent
89f0104
commit b35d232
Showing
20 changed files
with
4,801 additions
and
18,992 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
*.swp | ||
.tmp | ||
.idea | ||
node_modules | ||
bower_components | ||
build | ||
dist | ||
package | ||
*.log.gz |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,3 @@ | ||
<!-- build:css(app/public) styles/vendor.css --> | ||
<!-- bower:css --> | ||
<!-- endbower --> | ||
<!-- endbuild --> | ||
<!-- build:css(app/public) styles/main.css --> | ||
<link rel="stylesheet" href="styles/main.css" /> | ||
<!-- endbuild --> | ||
|
||
<!-- build:js(app/public) scripts/vendor.js --> | ||
<!-- bower:js --> | ||
<!-- endbower --> | ||
<!-- endbuild --> | ||
<!-- build:js(app/public) scripts/index.js --> | ||
<script src="scripts/index.js"></script> | ||
<!-- endbuild --> | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
echo Build start | ||
echo esbuild | ||
node esbuild.mjs | ||
if [[ -z "$1" || "$1" -ne spa ]]; then | ||
echo Full build | ||
cp -R app/src/ dist/src/ | ||
cp -R app/views/ dist/views/ | ||
else | ||
echo SPA build | ||
fi | ||
cp app/public/* dist/public/ 2> /dev/null || : | ||
cp -R app/public/images dist/public/ | ||
echo Build complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ services: | |
restart: always | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
depends_on: | ||
- api | ||
|
Oops, something went wrong.