Skip to content

Commit

Permalink
chore: changed build script because next export is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ZorbaDimatteo committed Apr 8, 2024
1 parent f97f14e commit fc71f4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const nextConfig = {
output: 'export',
reactStrictMode: true,
trailingSlash: true,
distDir: 'build',
transpilePackages: [
'@pagopa/mui-italia',
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "next dev",
"open-browser": "open http://localhost:3000",
"build": "next build && next export -o build/",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
Expand Down
3 changes: 0 additions & 3 deletions public/robots.txt

This file was deleted.

0 comments on commit fc71f4d

Please sign in to comment.