···21212222[group('build')]
2323build-web: && postbuild-web
2424- NODE_ENV=production rspack build
2424+ yarn build-web
25252626[group('build')]
2727build-android-sideload: prebuild-android
···34343535[group('build')]
3636postbuild-web:
3737+ # build system outputs some srcs and hrefs like src="static/"
3838+ # need to rewrite to be src="/static/" to handle non root pages
3939+ sed -i 's/\(src\|href\)="static/\1="\/static/g' web-build/index.html
4040+3741 # we need to copy the static iframe html to support youtube embeds
3842 cp -r bskyweb/static/iframe/ web-build/iframe
3943 # copy well-known files to support app deeplinks too
···55595660[group('dev')]
5761dev-web:
5858- rspack serve
6262+ yarn web
59636064[group('dev')]
6165dev-web-functions: build-web