|
|
|
@ -60,10 +60,7 @@ function copyHtml() {
|
|
|
|
|
path.join(cwd, 'site-dist/index-cn.html'), |
|
|
|
|
fs.readFileSync(path.join(cwd, 'site-dist/index.html')), |
|
|
|
|
); |
|
|
|
|
fs.writeFileSync( |
|
|
|
|
path.join(cwd, 'site-dist/CNAME'), |
|
|
|
|
'vue.ant.design', |
|
|
|
|
); |
|
|
|
|
fs.writeFileSync(path.join(cwd, 'site-dist/CNAME'), 'vue.ant.design'); |
|
|
|
|
rl.on('line', line => { |
|
|
|
|
if (line.indexOf('path:') > -1) { |
|
|
|
|
const name = line.split("'")[1].split("'")[0]; |
|
|
|
|