fix: build error

This commit is contained in:
春希 2020-10-27 11:01:45 +08:00
parent 23ded02055
commit d06d944984
3 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,5 @@ export class ApiService {
throw new Error('generateProject failed'); throw new Error('generateProject failed');
} }
return fs.createReadStream(filePath); return fs.createReadStream(filePath);
// return filePath;
} }
} }

View File

@ -10,6 +10,7 @@
"sourceMap": true, "sourceMap": true,
"outDir": "./dist", "outDir": "./dist",
"baseUrl": "./", "baseUrl": "./",
"incremental": true "incremental": true,
"types": []
} }
} }

View File

@ -53,5 +53,5 @@
"publishConfig": { "publishConfig": {
"registry": "http://registry.npm.alibaba-inc.com" "registry": "http://registry.npm.alibaba-inc.com"
}, },
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@1.0.11/build/index.html" "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@1.0.12/build/index.html"
} }