1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 00:03:33 +00:00

no log: Fix type issues in the vite config builder

This commit is contained in:
LASER-Yi 2022-03-29 00:46:55 +08:00
parent 8e07585084
commit 3f1d5ae623
No known key found for this signature in database
GPG key ID: BB28903D50A1D408
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,5 @@
/// <reference types="node" />
import { readFile } from "fs/promises";
async function read(path: string, sectionName: string, fieldName: string) {

View file

@ -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";