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
|
| Rev | Line | |
|---|
| [700e2f9] | 1 | import tailwindcss from "@tailwindcss/vite";
|
|---|
| 2 | import { defineConfig } from "vite";
|
|---|
| 3 | import solidPlugin from "vite-plugin-solid";
|
|---|
| 4 | import devtools from "solid-devtools/vite";
|
|---|
| 5 | import { fileURLToPath } from "node:url";
|
|---|
| 6 |
|
|---|
| 7 | export 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.