Skip to content

Commit

Permalink
static site configuration for digital ocean app platform
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Feb 14, 2025
1 parent 2ab6833 commit 1e3dc14
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 21 deletions.
10 changes: 0 additions & 10 deletions next.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const nextConfig = {
images: {
unoptimized: true, // Required for static export
},
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
basePath: process.env.NEXT_PUBLIC_BASE_PATH || ''
};

export default nextConfig;
7 changes: 0 additions & 7 deletions next.config.ts

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build && cp -r .next/static out/ && cp -r .next/server/app/* out/",
"build": "next build",
"start": "next start",
"serve": "npx serve -s out",
"lint": "next lint"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
Expand Down

0 comments on commit 1e3dc14

Please sign in to comment.