fix(frontend): build + remove hover tooltips in step links

- Fix Turbopack build: replace raw-loader .md import with inlined about-content.ts; drop raw-loader from next.config and package.json
- Remove all hover tooltips on step-area links (web_fetch, read_file, ls, bash, write_file, web_search) so hidden steps no longer show popups

修复:构建错误与步骤链接悬停提示
- 修复 Turbopack 构建:用内联 about-content.ts 替代 raw-loader 导入 about.md,并移除 next.config 与 package.json 中的 raw-loader
- 移除步骤区域内所有链接的悬停提示(查看网页、读文件、列目录、bash、写文件、网页搜索),隐藏步骤悬停不再弹出内容

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LofiSu
2026-02-09 03:42:16 +08:00
parent fe06be8258
commit d72aad8063
5 changed files with 82 additions and 53 deletions

View File

@@ -7,15 +7,6 @@ import "./src/env.js";
/** @type {import("next").NextConfig} */
const config = {
devIndicators: false,
turbopack: {
root: import.meta.dirname,
rules: {
"*.md": {
loaders: ["raw-loader"],
as: "*.js",
},
},
},
};
export default config;