feat: update site
parent
dc7a86d1c1
commit
511d76074a
|
@ -56,6 +56,10 @@ function copyHtml() {
|
||||||
path.join(cwd, 'site-dist/404.html'),
|
path.join(cwd, 'site-dist/404.html'),
|
||||||
fs.readFileSync(path.join(cwd, 'site/404.html')),
|
fs.readFileSync(path.join(cwd, 'site/404.html')),
|
||||||
);
|
);
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(cwd, 'site-dist/index-cn.html'),
|
||||||
|
fs.readFileSync(path.join(cwd, 'site-dist/index.html')),
|
||||||
|
);
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
path.join(cwd, 'site-dist/CNAME'),
|
path.join(cwd, 'site-dist/CNAME'),
|
||||||
'vue.ant.design',
|
'vue.ant.design',
|
||||||
|
|
Loading…
Reference in New Issue