Changes made to config file for deployment.

This commit is contained in:
Caretaker0699 2023-05-15 16:00:14 -07:00
parent ec4be61079
commit 73be01dd40
2 changed files with 17 additions and 7 deletions

View File

@ -1,6 +1,16 @@
/** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true, // This is the base path for your application.
} basePath: '/',
module.exports = nextConfig // This is the environment that your application is running in.
env: {
NODE_ENV: 'production',
},
// This is the list of pages that should be exported when you run the `next export` command.
exportPathMap: {
'/pages/*': './pages/*',
},
};
module.exports = nextConfig;

View File

@ -3,11 +3,11 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "export": "next export"
}, },
"dependencies": { "dependencies": {
"@next/font": "^13.3.0", "@next/font": "^13.3.0",
"animejs": "^3.2.1", "animejs": "^3.2.1",