Skip to content

Commit

Permalink
up version
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Sep 24, 2019
1 parent 988161e commit e0064d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"license": "MIT",
"dependencies": {
"antd-pro-merge-less": "^2.0.6",
"antd-pro-merge-less": "^2.0.11",
"rimraf": "^3.0.0",
"serve-static": "^1.14.1"
}
Expand Down
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ export default function(
if (existsSync(themeTemp)) {
rimraf.sync(themeTemp);
}
if (existsSync(join(themeTemp, 'theme'))) {
rimraf.sync(join(themeTemp, 'theme'));
if (existsSync(api.winPath(join(themeTemp, 'theme')))) {
rimraf.sync(api.winPath(join(themeTemp, 'theme')));
}

mkdirSync(themeTemp);
mkdirSync(join(themeTemp, 'theme'));

mkdirSync(api.winPath(join(themeTemp, 'theme')));

buildCss(
cwd,
Expand Down

0 comments on commit e0064d4

Please sign in to comment.