source: frontend/vite.config.ts

main
Last change on this file was 700e2f9, checked in by 186079 <matej.milevski@…>, 5 days ago

Init

  • Property mode set to 100644
File size: 473 bytes
RevLine 
[700e2f9]1import tailwindcss from "@tailwindcss/vite";
2import { defineConfig } from "vite";
3import solidPlugin from "vite-plugin-solid";
4import devtools from "solid-devtools/vite";
5import { fileURLToPath } from "node:url";
6
7export default defineConfig({
8 plugins: [devtools(), solidPlugin(), tailwindcss()],
9 resolve: {
10 alias: {
11 "@": fileURLToPath(new URL("./src", import.meta.url)),
12 },
13 },
14 server: {
15 port: 3000,
16 },
17 build: {
18 target: "esnext",
19 },
20});
Note: See TracBrowser for help on using the repository browser.