Skip to content

Commit

Permalink
Migration Nextjs 13 to 14 (#1217)
Browse files Browse the repository at this point in the history
* Migration Nextjs 13 to 14

* fix: next export

* add output export property

---------

Co-authored-by: Azanul Haque <42029519+Azanul@users.noreply.github.com>
  • Loading branch information
shivam-sharma7 and Azanul committed Dec 6, 2023
1 parent 6e1e34d commit 1109af2
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 52 deletions.
1 change: 1 addition & 0 deletions dashboard/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const withTM = require('next-transpile-modules')(['react-cytoscapejs']);
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
output: 'export',
images: {
unoptimized: true
},
Expand Down
120 changes: 70 additions & 50 deletions dashboard/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev -p 3002",
"build": "next build && next export",
"build": "next build",
"start": "next start -p 3002",
"lint": "next lint",
"format": "prettier --write \"**/*.{ts,tsx,json,css,scss,md}\"",
Expand All @@ -26,7 +26,7 @@
"cytoscape-node-html-label": "^1.2.2",
"cytoscape-popper": "^2.0.0",
"html-to-image": "^1.11.11",
"next": "^13.5.6",
"next": "^14.0.3",
"next-transpile-modules": "^10.0.1",
"react": "18.2.0",
"react-chartjs-2": "^5.2.0",
Expand Down

0 comments on commit 1109af2

Please sign in to comment.