From c4951f820a28320bfa892acbc5ac0ebe363d2d91 Mon Sep 17 00:00:00 2001 From: Asai Neko Date: Tue, 20 Jan 2026 15:35:28 +0800 Subject: [PATCH] Remove unused devenv nix imports Signed-off-by: Asai Neko --- client/vite.config.ts | 22 +++++++++++----------- devenv.nix | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/vite.config.ts b/client/vite.config.ts index 71ce399..655fbc8 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -1,15 +1,15 @@ -import path from 'node:path'; -import tailwindcss from '@tailwindcss/vite'; -import { tanstackRouter } from '@tanstack/router-plugin/vite'; -import react from '@vitejs/plugin-react'; -import { defineConfig } from 'vite'; -import svgr from 'vite-plugin-svgr'; +import path from "node:path"; +import tailwindcss from "@tailwindcss/vite"; +import { tanstackRouter } from "@tanstack/router-plugin/vite"; +import react from "@vitejs/plugin-react"; +import { defineConfig } from "vite"; +import svgr from "vite-plugin-svgr"; // https://vite.dev/config/ export default defineConfig({ plugins: [ tanstackRouter({ - target: 'react', + target: "react", autoCodeSplitting: true, }), react(), @@ -18,15 +18,15 @@ export default defineConfig({ ], resolve: { alias: { - '@': path.resolve(__dirname, './src'), + "@": path.resolve(__dirname, "./src"), }, }, server: { proxy: { - '/api': 'http://10.0.0.250:8000', + "/api": "http://10.0.0.250:8000", }, - host: '0.0.0.0', + host: "0.0.0.0", port: 5173, - allowedHosts: ['test.sne.moe'], + allowedHosts: ["nix.org.cn", "nixos.party"], }, }); diff --git a/devenv.nix b/devenv.nix index 5220ce9..2b8ee3b 100644 --- a/devenv.nix +++ b/devenv.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ pkgs, ... }: { process.managers.process-compose = {