remove only top level files to keep the legacy extensions

This commit is contained in:
Carson Gross
2024-07-12 11:12:56 -06:00
parent ee13ae744a
commit f751aba86f
10 changed files with 28 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ set -euo pipefail
HTMX_SRC="src/htmx.js"
# Clean the dist directory
rm -rf dist/*
rm -rf dist/*.js dist/*.ts dist/*.gz
# Regular IIFE script
cp $HTMX_SRC dist/htmx.js
@@ -35,3 +35,4 @@ cat > dist/htmx.esm.js << EOF
$(cat $HTMX_SRC)
export default htmx
EOF