mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
feat(cli): support config site publicPath and outputDir
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
SRC_DIR,
|
||||
DOCS_DIR,
|
||||
CONFIG_FILE,
|
||||
DESKTOP_ENTRY_FILE
|
||||
SITE_DESKTOP_SHARED_FILE
|
||||
} from '../common/constant';
|
||||
|
||||
type DocumentItem = {
|
||||
@@ -64,5 +64,5 @@ ${genExportConfig()}
|
||||
${genExportDocuments(documents)}
|
||||
`;
|
||||
|
||||
writeFileSync(DESKTOP_ENTRY_FILE, code);
|
||||
writeFileSync(SITE_DESKTOP_SHARED_FILE, code);
|
||||
}
|
||||
|
Reference in New Issue
Block a user