mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
18 lines
445 B
Bash
18 lines
445 B
Bash
rm -rf target
|
|
yarn run vite build -c vite.sdk-assets-config.js
|
|
yarn run vite build -c vite.sdk-lib-config.js
|
|
yarn tsc -p tsconfig-declaration.json
|
|
./scripts/sdk/create-manifest.js ./target/package.json
|
|
pushd target
|
|
pushd asset-build/assets
|
|
mv main.*.js ../../main.js
|
|
mv index.*.css ../../style.css
|
|
mv download-sandbox.*.html ../../download-sandbox.html
|
|
rm *.js *.wasm
|
|
mv ./* ../../
|
|
popd
|
|
rm -rf asset-build
|
|
mv lib-build/* .
|
|
rm -rf lib-build
|
|
popd
|