From 2f38658f5d86a199a1066341883aa69bd6e49828 Mon Sep 17 00:00:00 2001 From: syn Date: Mon, 8 Mar 2021 21:23:24 +0300 Subject: Improve build process --- front/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'front/package.json') diff --git a/front/package.json b/front/package.json index 941b9c4..0a96871 100644 --- a/front/package.json +++ b/front/package.json @@ -14,7 +14,7 @@ "scripts": { "test": "echo \"Error: testing is disallowed\" && exit 1", "build": "esbuild index.jsx --sourcemap=inline --bundle --outdir=dist", - "release": "esbuild index.jsx --bundle --minify --outdir=dist", + "release": "esbuild index.jsx style.css twemoji-awesome.css --loader:.ttf=file --bundle --minify --outdir=dist && cp index.html dist/", "watch": "esbuild index.jsx --sourcemap=inline --bundle --outdir=dist --watch" }, "author": "syn", -- cgit v1.2.1-18-gbd029