Skip to content

Commit

Permalink
always have a antd.less
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed May 11, 2020
1 parent 7496378 commit 396c310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const tempPath = winPath(path.join(__dirname, './.temp/'));
const loadAntd = async (ignoreAntd, { dark = false, compact = false }) => {
try {
if (ignoreAntd) {
fs.writeFileSync(path.join(tempPath, './antd.less'), '');
return false;
}

Expand Down

0 comments on commit 396c310

Please sign in to comment.