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