This commit is contained in:
coolzr
2025-10-14 19:34:51 +08:00
6 changed files with 29 additions and 1 deletions

View File

@@ -897,6 +897,12 @@ function copyStaticFiles(config) {
console.error('Error copying style.css:', e);
}
try {
fs.copyFileSync('assets/pinyin-match.js', 'dist/pinyin-match.js');
} catch (e) {
console.error('Error copying pinyin-match.js:', e);
}
// 复制JavaScript文件
try {
fs.copyFileSync('src/script.js', 'dist/script.js');