chore: update configuration for output and distribution
@@ -1,18 +1,18 @@
|
||||
export const websites = [
|
||||
{
|
||||
icon: "./gitea.svg",
|
||||
icon: "./img/gitea.svg",
|
||||
title: "Gitea",
|
||||
description: "实验室 Git 服务。",
|
||||
link: "https://git.intcplab.cn",
|
||||
},
|
||||
{
|
||||
icon: "./bbs.svg",
|
||||
icon: "./img/bbs.svg",
|
||||
title: "实验室论坛",
|
||||
description: "只是一个假的论坛。",
|
||||
link: "https://website2.example.com",
|
||||
},
|
||||
{
|
||||
icon: "./unknow.svg",
|
||||
icon: "./img/unknow.svg",
|
||||
title: "挑战赛排行榜",
|
||||
description: "机器学习课程配套挑战赛排行榜。",
|
||||
link: "https://rank.intcplab.cn",
|
||||
|
||||
@@ -2,6 +2,8 @@ import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
output: "export",
|
||||
distDir: "out",
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 508 B After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 631 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,7 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2017",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
@@ -19,9 +23,19 @@
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
"@/*": [
|
||||
"./*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
".next/types/**/*.ts",
|
||||
"next-env.d.ts",
|
||||
"out/types/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
||||