feat(insight): update insight template and app to React, enhance export functionality

This commit is contained in:
DragonnZhang 2026-01-23 20:06:06 +08:00
parent 2931e75a17
commit 6cb0bb078c
5 changed files with 472 additions and 329 deletions

View file

@ -5,8 +5,7 @@
*/
import fs from 'fs/promises';
import path from 'path';
import { dirname } from 'path';
import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
import type { InsightData } from '../types/StaticInsightTypes.js';