From d4c1abbd56f6d0fee91906360efa44bd65adf689 Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Thu, 10 Aug 2023 07:55:24 +0300 Subject: [PATCH] =?UTF-8?q?=C3=AFnstall=20requirements=20for=20codegen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + ng-app/package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c6335d4..e4ff5cb 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Read our [getting started guide](https://docs.nextgraph.org/en/getting-started/) - [Install Rust](https://www.rust-lang.org/tools/install) minimum required MSRV 1.64.0 - [Install Nodejs](https://nodejs.org/en/download/) +- [Install LLVM](https://rust-lang.github.io/rust-bindgen/requirements.html) until this [PR](https://github.com/rustwasm/wasm-pack/pull/1271) is accepted, will have to install wasm-pack this way: diff --git a/ng-app/package.json b/ng-app/package.json index 7b1b8eb..12496cd 100644 --- a/ng-app/package.json +++ b/ng-app/package.json @@ -6,10 +6,10 @@ "scripts": { "dev": "vite", "webdev": "cross-env NG_APP_WEB=1 TAURI_DEBUG=1 vite", - "webbuild": "cross-env NG_APP_WEB=1 vite build && rm ./dist/assets/*.svg", + "webbuild": "cross-env NG_APP_WEB=1 vite build && rm -f ./dist-web/assets/*.svg", "filebuild": "cross-env NG_APP_WEB=1 NG_APP_FILE=1 vite build && node prepare-app-file.cjs", "filebuilddebug": "cross-env NG_APP_WEB=1 NG_APP_FILE=1 TAURI_DEBUG=1 vite build -m debug", - "build": "vite build && rm ./dist/assets/*.svg", + "build": "vite build && rm -f ./dist/assets/*.svg", "buildfile": "cross-env NG_APP_FILE=1 vite build && rm -r ./dist/assets", "preview": "vite preview", "check": "svelte-check --tsconfig ./tsconfig.json",