File tree Expand file tree Collapse file tree 3 files changed +1069
-547
lines changed Expand file tree Collapse file tree 3 files changed +1069
-547
lines changed Original file line number Diff line number Diff line change
1
+ import path from 'path' ;
2
+ import { fileURLToPath } from 'url' ;
1
3
import './src/env.mjs' ;
2
4
5
+ const __filename = fileURLToPath ( import . meta. url ) ;
6
+ const __dirname = path . dirname ( __filename ) ;
7
+
3
8
/**@type {import('next').NextConfig }*/
4
9
const config = {
5
10
reactStrictMode : true ,
6
11
experimental : {
7
12
viewTransition : true
8
13
} ,
14
+ webpack ( config ) {
15
+ config . resolve . alias [ '@' ] = path . resolve ( __dirname , 'src' ) ;
16
+ return config ;
17
+ } ,
9
18
async redirects ( ) {
10
19
return [
11
20
{
Original file line number Diff line number Diff line change 16
16
"@twuni/emojify" : " ^1.0.2" ,
17
17
"@xata.io/cli" : " ^0.16.12" ,
18
18
"@xata.io/client" : " ^0.30.1" ,
19
+ "autoprefixer" : " ^10.4.21" ,
19
20
"axios" : " ^1.11.0" ,
20
21
"class-variance-authority" : " ^0.7.1" ,
21
22
"clsx" : " ^2.1.1" ,
30
31
"next-cloudinary" : " ^6.16.0" ,
31
32
"next-seo" : " ^6.8.0" ,
32
33
"nextjs-progressbar" : " ^0.0.16" ,
34
+ "postcss" : " ^8.5.6" ,
33
35
"react" : " 19.1.1" ,
34
36
"react-dom" : " 19.1.1" ,
35
37
"react-hook-form" : " ^7.62.0" ,
36
38
"react-hot-toast" : " ^2.5.2" ,
37
39
"react-icons" : " ^5.5.0" ,
38
40
"tailwind-merge" : " ^3.3.1" ,
41
+ "tailwindcss" : " 3" ,
39
42
"tailwindcss-animate" : " ^1.0.7" ,
40
43
"zod" : " ^4.0.14"
41
44
},
45
48
"@types/node" : " ^24.1.0" ,
46
49
"@types/react" : " 19.1.9" ,
47
50
"@types/twuni__emojify" : " ^1.0.2" ,
48
- "autoprefixer" : " ^10.4.21" ,
49
51
"eslint" : " 9.32.0" ,
50
52
"eslint-config-next" : " 15.4.5" ,
51
- "postcss" : " ^8.5.6" ,
52
53
"prettier" : " ^3.6.2" ,
53
54
"prettier-plugin-tailwindcss" : " ^0.6.14" ,
54
- "tailwindcss" : " ^3.4.10" ,
55
55
"typescript" : " 5.9.2"
56
56
},
57
57
"engines" : {
You can’t perform that action at this time.
0 commit comments