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