tangled
alpha
login
or
join now
isuggest.selfce.st
/
strand
3
fork
atom
alternative tangled frontend (extremely wip)
3
fork
atom
overview
issues
pulls
pipelines
chore: formatting
serenity
3 weeks ago
7b847673
294b90d6
+24
-24
1 changed file
expand all
collapse all
unified
split
vite.config.ts
+24
-24
vite.config.ts
···
1
1
-
import { defineConfig } from 'vite'
2
2
-
import { devtools } from '@tanstack/devtools-vite'
3
3
-
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
4
4
-
import viteReact from '@vitejs/plugin-react'
5
5
-
import viteTsConfigPaths from 'vite-tsconfig-paths'
6
6
-
import tailwindcss from '@tailwindcss/vite'
7
7
-
import { nitro } from 'nitro/vite'
1
1
+
import { defineConfig } from "vite";
2
2
+
import { devtools } from "@tanstack/devtools-vite";
3
3
+
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
4
4
+
import viteReact from "@vitejs/plugin-react";
5
5
+
import viteTsConfigPaths from "vite-tsconfig-paths";
6
6
+
import tailwindcss from "@tailwindcss/vite";
7
7
+
import { nitro } from "nitro/vite";
8
8
9
9
const config = defineConfig({
10
10
-
plugins: [
11
11
-
devtools(),
12
12
-
nitro(),
13
13
-
// this is the plugin that enables path aliases
14
14
-
viteTsConfigPaths({
15
15
-
projects: ['./tsconfig.json'],
16
16
-
}),
17
17
-
tailwindcss(),
18
18
-
tanstackStart(),
19
19
-
viteReact({
20
20
-
babel: {
21
21
-
plugins: ['babel-plugin-react-compiler'],
22
22
-
},
23
23
-
}),
24
24
-
],
25
25
-
})
10
10
+
plugins: [
11
11
+
devtools(),
12
12
+
nitro(),
13
13
+
// this is the plugin that enables path aliases
14
14
+
viteTsConfigPaths({
15
15
+
projects: ["./tsconfig.json"],
16
16
+
}),
17
17
+
tailwindcss(),
18
18
+
tanstackStart(),
19
19
+
viteReact({
20
20
+
babel: {
21
21
+
plugins: ["babel-plugin-react-compiler"],
22
22
+
},
23
23
+
}),
24
24
+
],
25
25
+
});
26
26
27
27
-
export default config
27
27
+
export default config;