From 73be01dd4010541bc90267e906b81adb64385d38 Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 15 May 2023 16:00:14 -0700 Subject: [PATCH] Changes made to config file for deployment. --- next.config.js | 18 ++++++++++++++---- package.json | 6 +++--- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/next.config.js b/next.config.js index a843cbe..2445f58 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,16 @@ -/** @type {import('next').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; \ No newline at end of file diff --git a/package.json b/package.json index 0cb8557..83b6e97 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,11 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev", + "dev": "next", "build": "next build", "start": "next start", - "lint": "next lint" - }, + "export": "next export" +}, "dependencies": { "@next/font": "^13.3.0", "animejs": "^3.2.1",