Fixed type issue in vite configuration
This commit is contained in:
parent
6be924bc86
commit
f5db419c91
|
|
@ -1,6 +1,6 @@
|
||||||
import path from "node:path";
|
|
||||||
import react from "@vitejs/plugin-react";
|
|
||||||
import tailwindcss from "@tailwindcss/vite";
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
|
import react from "@vitejs/plugin-react";
|
||||||
|
import path from "node:path";
|
||||||
import { PassThrough } from "stream";
|
import { PassThrough } from "stream";
|
||||||
import { defineConfig, type ViteDevServer } from "vite";
|
import { defineConfig, type ViteDevServer } from "vite";
|
||||||
|
|
||||||
|
|
@ -34,7 +34,6 @@ Object.keys(originalConsole).forEach((level) => {
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
// @ts-expect-error - Tailwind plugin is causing type errors with vite v7. This is a known issue.
|
|
||||||
tailwindcss(),
|
tailwindcss(),
|
||||||
react(),
|
react(),
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user