Fix www.sh, copy scripts to theme's static/js folder too (#1967)

This commit is contained in:
Vincent
2023-11-06 18:48:27 +01:00
committed by GitHub
parent c2e4b51495
commit df7c0c2c60
2 changed files with 217 additions and 95 deletions

View File

@@ -15,3 +15,8 @@ cp node_modules/mock-socket/dist/mock-socket.js "$STATIC_ROOT/node_modules/mock-
rm -rf "$STATIC_ROOT/test" "$STATIC_ROOT/src"
cp -r "./test" "$STATIC_ROOT/test"
cp -r "./src" "$STATIC_ROOT/src"
# copy the current htmx to the main website
cp "src/htmx.js" "www/themes/htmx-theme/static/js/htmx.js"
cp "src/ext/class-tools.js" "www/themes/htmx-theme/static/js/class-tools.js"
cp "src/ext/preload.js" "www/themes/htmx-theme/static/js/preload.js"