From 2d8fa591cff743085fb4f4c9551fa828e7750933 Mon Sep 17 00:00:00 2001 From: Lukas Hass Date: Tue, 1 Feb 2022 01:46:05 +0100 Subject: [PATCH] migrate build script to vite --- front/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/package.json b/front/package.json index ce618c0d..c15b3688 100644 --- a/front/package.json +++ b/front/package.json @@ -76,7 +76,7 @@ "start": "run-p templater serve svelte-check-watch typesafe-i18n", "templater": "cross-env ./templater.sh", "serve": "cross-env vite --host", - "build": "cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack.json\" NODE_ENV=production webpack", + "build": "cross-env vite build", "build-typings": "cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack.json\" NODE_ENV=production BUILD_TYPINGS=1 webpack", "test": "cross-env TS_NODE_PROJECT=\"tsconfig-for-jasmine.json\" ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json", "lint": "node_modules/.bin/eslint src/ tests/ --ext .ts,.svelte",