Skip to content

Commit 4a60775

Browse files
committed
vite 8.0
1 parent d27376a commit 4a60775

6 files changed

Lines changed: 15 additions & 17 deletions

File tree

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ trim_trailing_whitespace = true
1414
max_line_length = 120
1515

1616
# documentation, utils
17-
[*.{md,mdx,diff}]
17+
[*.{md,diff}]
1818
trim_trailing_whitespace = false

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"typescript.experimental.useTsgo": true
2+
"typescript.experimental.useTsgo": false
33
}

eslint.config.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import js from "@eslint/js";
2+
import { defineConfig } from "eslint/config";
23
import globals from "globals";
34
import tseslint from "typescript-eslint";
45

5-
export default tseslint.config(
6-
{ ignores: ["dist"] },
7-
{
8-
extends: [js.configs.recommended, ...tseslint.configs.recommended],
9-
files: ["**/*.{ts}"],
10-
languageOptions: {
11-
ecmaVersion: 2020,
12-
globals: globals.browser,
13-
},
14-
}
15-
);
6+
export default defineConfig({
7+
ignores: ["dist"],
8+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
9+
files: ["**/*.{ts}"],
10+
languageOptions: {
11+
ecmaVersion: 2020,
12+
globals: globals.browser,
13+
},
14+
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"sass-embedded": "^1.89.2",
3434
"typescript-eslint": "^8.34.1",
3535
"typescript-plugin-css-modules": "^5.1.0",
36-
"vite": "^7.2.4"
36+
"vite": "^8.0.0-beta.0"
3737
},
3838
"prettier": {
3939
"printWidth": 120,

styles/components/issue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ export const timeline = css`
564564
}
565565
.timeline-item,
566566
.timeline-item-group {
567-
padding: 16px 0;
567+
padding: 12px 0;
568568
.comment-text-line {
569569
color: ${themeVars.color.text.light.num1};
570570
}

vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ import * as sass from "sass-embedded";
88
import { defineConfig } from "vite";
99
import { themeInput, themePlugin } from "./src/core/vite";
1010

11-
dotenv.config({ quiet: true });
12-
1311
const require = createRequire(import.meta.url);
12+
dotenv.config({ quiet: true });
1413

1514
const outDir = "dist"; // 输出目录
1615
const themesDir = "themes"; // 颜色主题目录

0 commit comments

Comments
 (0)