import { defineConfig } from "vite";
import solid from "vite-plugin-solid";
import tailwindcss from "@tailwindcss/vite";
import path from "node:path";

export default defineConfig({
  plugins: [solid(), tailwindcss()],
  resolve: {
    conditions: ["solid", "browser", "module", "import"],
    dedupe: ["solid-js"],
    alias: {
      "pettyui": path.resolve(__dirname, "../core/src/components"),
    },
  },
});
