fs.writeFileSync('dist/version.txt', `当前版本: ${pkg.version}`, 'utf8');
试试这个
fs.writeFileSync('dist/version.txt', `uFEFF当前版本: ${pkg.version}`, 'utf8');
2.1m questions
2.1m answers
60 comments
57.0k users