From 1dafa9a6a0d8bfed75b05a0bb219f8b623d03d08 Mon Sep 17 00:00:00 2001 From: Alessandro Bortolin Date: Thu, 5 Sep 2024 12:06:59 +0200 Subject: [PATCH] Fix build --- package.json | 1 - tools/build.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 765f814..0763433 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "version": "1.0.0", "private": true, "scripts": { - "postinstall": "playwright install chromium", "dev": "quizms dev", "lint": "biome check --write", "build": "quizms build --training" diff --git a/tools/build.sh b/tools/build.sh index a976869..3a86a7c 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -7,5 +7,5 @@ cd scolastiche apt-get update apt-get install -y asymptote texlive-latex-extra texlive-fonts-recommended libxkbcommon0 yarn install --production --frozen-lockfile -yarn playwright install-deps chromium yarn build +mv dist/index.html dist/404.html