docs: add CNAME
parent
be12d2eee9
commit
61cf8a4857
|
@ -56,6 +56,10 @@ function copyHtml() {
|
|||
path.join(cwd, 'site-dist/404.html'),
|
||||
fs.readFileSync(path.join(cwd, 'site/404.html')),
|
||||
);
|
||||
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];
|
||||
|
|
Loading…
Reference in New Issue