Skip to content

Commit 921e3ba

Browse files
Merge branch 'main' into Adnanarodiya/main
2 parents 005496d + 34d910a commit 921e3ba

File tree

3 files changed

+1069
-547
lines changed

3 files changed

+1069
-547
lines changed

next.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1+
import path from 'path';
2+
import { fileURLToPath } from 'url';
13
import './src/env.mjs';
24

5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = path.dirname(__filename);
7+
38
/**@type {import('next').NextConfig}*/
49
const config = {
510
reactStrictMode: true,
611
experimental: {
712
viewTransition: true
813
},
14+
webpack(config) {
15+
config.resolve.alias['@'] = path.resolve(__dirname, 'src');
16+
return config;
17+
},
918
async redirects() {
1019
return [
1120
{

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@twuni/emojify": "^1.0.2",
1717
"@xata.io/cli": "^0.16.12",
1818
"@xata.io/client": "^0.30.1",
19+
"autoprefixer": "^10.4.21",
1920
"axios": "^1.11.0",
2021
"class-variance-authority": "^0.7.1",
2122
"clsx": "^2.1.1",
@@ -30,12 +31,14 @@
3031
"next-cloudinary": "^6.16.0",
3132
"next-seo": "^6.8.0",
3233
"nextjs-progressbar": "^0.0.16",
34+
"postcss": "^8.5.6",
3335
"react": "19.1.1",
3436
"react-dom": "19.1.1",
3537
"react-hook-form": "^7.62.0",
3638
"react-hot-toast": "^2.5.2",
3739
"react-icons": "^5.5.0",
3840
"tailwind-merge": "^3.3.1",
41+
"tailwindcss": "3",
3942
"tailwindcss-animate": "^1.0.7",
4043
"zod": "^4.0.14"
4144
},
@@ -45,13 +48,10 @@
4548
"@types/node": "^24.1.0",
4649
"@types/react": "19.1.9",
4750
"@types/twuni__emojify": "^1.0.2",
48-
"autoprefixer": "^10.4.21",
4951
"eslint": "9.32.0",
5052
"eslint-config-next": "15.4.5",
51-
"postcss": "^8.5.6",
5253
"prettier": "^3.6.2",
5354
"prettier-plugin-tailwindcss": "^0.6.14",
54-
"tailwindcss": "^3.4.10",
5555
"typescript": "5.9.2"
5656
},
5757
"engines": {

0 commit comments

Comments
 (0)