Skip to content

Commit

Permalink
reveter
Browse files Browse the repository at this point in the history
  • Loading branch information
Makisuo committed Dec 14, 2024
1 parent c1ed535 commit 3053164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions next.config.ts → next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { NextConfig } from "next"

const isDev = process.argv.indexOf("dev") !== -1
const isBuild = process.argv.indexOf("build") !== -1
if (!process.env.VELITE_STARTED && (isDev || isBuild)) {
Expand All @@ -8,6 +6,7 @@ if (!process.env.VELITE_STARTED && (isDev || isBuild)) {
await build({ watch: isDev, clean: !isDev })
}

/** @type {import("next").NextConfig} */
export default {
devIndicators: {
buildActivity: false,
Expand Down Expand Up @@ -106,4 +105,4 @@ export default {
},
]
},
} satisfies NextConfig
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"#site/content": ["./.velite"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next.config.mjs"],
"exclude": [
"node_modules",

Expand Down

0 comments on commit 3053164

Please # to comment.