#!/usr/bin/env bash # SPDX-FileCopyrightText: 2023 David Mosbach # # SPDX-License-Identifier: AGPL-3.0-or-later echo 'Transpiling to JS...' npx tsc || exit 1 echo 'Generating Webpack bundle...' npx webpack || exit 1 echo 'Starting server...' npx http-server --cors -o ./editor.html