identity-vault/vite.config.mts
nora 7d04469701
[Backend] UI2. (#67)
* first srcl pass!

* HOLY MFIN KBAR

* first last search

* put the borders back

* button!

* oops

* toolbar!

* lol

* bump dreamland, make kbar actually reactive?

* shorter timeout lol

* identity picker component

* nuke that lol

* seen_hints

* woah

* hint sys pt 1

* HINTS

* HINTS AND SHORTCUTS

* styles, BACKSPACE

* nav on home

* bananananana

* click, starring adam sandler

* scrool

* lint pass

* autoed complete

* shut

* brake the man

* dunno why those got unmerged

* path oopsie

* backspace on audit logs

* whitespace

* i thought i told you to shut up

* mr. brakeman
2025-12-03 01:17:37 -05:00

23 lines
No EOL
584 B
TypeScript

import { defineConfig } from "vite";
import ViteRails from "vite-plugin-rails";
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [
ViteRails({
envVars: { RAILS_ENV: "development" },
envOptions: { defineOn: "import.meta.env" },
fullReload: {
additionalPaths: ["config/routes.rb", "app/views/**/*"],
delay: 300,
},
}),
// tailwindcss(),
],
esbuild: {
jsxFactory: "h",
jsxFragment: "Fragment",
jsxInject: "import { h } from 'dreamland/core'"
},
build: { sourcemap: false },
});