Skip to content

Commit

Permalink
build(frontend/src): ⬆️ Update nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nudelsuppe42 committed Sep 27, 2024
1 parent 1c1829c commit 837165d
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 196 deletions.
9 changes: 4 additions & 5 deletions apps/frontend/next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
const path = require('path');
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
Expand Down Expand Up @@ -100,9 +96,12 @@ const nextConfig = {
},
];
},
devIndicators: {
buildActivityPosition: 'bottom-right',
},
experimental: {
outputFileTracingRoot: path.join(__dirname, '../../'),
},
};

module.exports = withBundleAnalyzer(nextConfig);
module.exports = nextConfig;
8 changes: 3 additions & 5 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "next build",
"clean": "rm -rf .next",
"start": "next start",
"dev": "next dev",
"dev": "next dev --turbo",
"lint": "eslint . --max-warnings 0",
"prettier": "prettier ./src --write --ignore-unknown",
"env:copy": "cp .env.example .env"
Expand All @@ -32,7 +32,6 @@
"@mantine/spotlight": "^7.12.0",
"@mantine/tiptap": "^7.12.0",
"@mapbox/mapbox-gl-draw": "^1.4.3",
"@next/bundle-analyzer": "^13.5.6",
"@react-three/drei": "^9.56.10",
"@react-three/fiber": "^8.10.1",
"@tabler/icons-react": "^2.35.0",
Expand Down Expand Up @@ -64,7 +63,7 @@
"mapbox-gl-draw-snap-mode": "^0.2.0",
"mapbox-gl-style-switcher": "^1.0.11",
"minimatch": "^8.0.2",
"next": "^14.2.2",
"next": "14.2.13",
"next-auth": "^4.24.5",
"next-i18next": "^13.0.3",
"next-seo": "^6.1.0",
Expand Down Expand Up @@ -109,8 +108,7 @@
"postcss-simple-vars": "^7.0.1",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "3.2.4",
"typescript": "^4.7.2",
"webpack-bundle-analyzer": "^4.5.0"
"typescript": "^4.7.2"
},
"prettier": "@repo/prettier-config",
"lint-staged": {
Expand Down
Loading

0 comments on commit 837165d

Please sign in to comment.