mirror of https://github.com/morpheus65535/bazarr
no log: Fix type issues in the vite config builder
This commit is contained in:
parent
8e07585084
commit
3f1d5ae623
|
@ -1,3 +1,5 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
|
||||||
import { readFile } from "fs/promises";
|
import { readFile } from "fs/promises";
|
||||||
|
|
||||||
async function read(path: string, sectionName: string, fieldName: string) {
|
async function read(path: string, sectionName: string, fieldName: string) {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
/// <reference types="node" />
|
||||||
|
|
||||||
import react from "@vitejs/plugin-react";
|
import react from "@vitejs/plugin-react";
|
||||||
// @ts-ignore
|
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import { defineConfig, loadEnv } from "vite";
|
import { defineConfig, loadEnv } from "vite";
|
||||||
import checker from "vite-plugin-checker";
|
import checker from "vite-plugin-checker";
|
||||||
|
|
Loading…
Reference in New Issue