diff options
author | LASER-Yi <[email protected]> | 2022-03-29 00:46:55 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2022-03-29 00:46:55 +0800 |
commit | 3f1d5ae6236025fd14e3e27ccc6fa3a66d3060ff (patch) | |
tree | 8157c5b7152556c21c1cf8f16b6b90a543482407 | |
parent | 8e075850849a1855386e13f8ec576f3afe84ddf4 (diff) | |
download | bazarr-3f1d5ae6236025fd14e3e27ccc6fa3a66d3060ff.tar.gz bazarr-3f1d5ae6236025fd14e3e27ccc6fa3a66d3060ff.zip |
no log: Fix type issues in the vite config builder
-rw-r--r-- | frontend/config/configReader.ts | 2 | ||||
-rw-r--r-- | frontend/vite.config.ts | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/frontend/config/configReader.ts b/frontend/config/configReader.ts index 464371ca1..20d28f81c 100644 --- a/frontend/config/configReader.ts +++ b/frontend/config/configReader.ts @@ -1,3 +1,5 @@ +/// <reference types="node" /> + import { readFile } from "fs/promises"; async function read(path: string, sectionName: string, fieldName: string) { diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3a43af833..5bc90388e 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,5 +1,6 @@ +/// <reference types="node" /> + import react from "@vitejs/plugin-react"; -// @ts-ignore import path from "path"; import { defineConfig, loadEnv } from "vite"; import checker from "vite-plugin-checker"; |