mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Clean up index.html in the right spot
This commit is contained in:
parent
639358b146
commit
b725269c7a
@ -16,10 +16,10 @@ mkdir target/paths
|
|||||||
# this doesn't work, the ?url imports need to be in the consuming project, so disable for now
|
# this doesn't work, the ?url imports need to be in the consuming project, so disable for now
|
||||||
# ./scripts/sdk/transform-paths.js ./src/platform/web/sdk/paths/vite.js ./target/paths/vite.js
|
# ./scripts/sdk/transform-paths.js ./src/platform/web/sdk/paths/vite.js ./target/paths/vite.js
|
||||||
cp doc/SDK.md target/README.md
|
cp doc/SDK.md target/README.md
|
||||||
pushd target
|
pushd target/asset-build
|
||||||
pushd asset-build/assets
|
rm index.html
|
||||||
|
popd
|
||||||
|
pushd target/asset-build/assets
|
||||||
# Remove all `*.wasm` and `*.js` files except for `main.js`
|
# Remove all `*.wasm` and `*.js` files except for `main.js`
|
||||||
rm !(main).js *.wasm
|
rm !(main).js *.wasm
|
||||||
popd
|
popd
|
||||||
rm index.html
|
|
||||||
popd
|
|
||||||
|
Loading…
Reference in New Issue
Block a user