fix Build unchecked md5 will report an error for issues/7845 (#2955)

This commit is contained in:
Knox
2018-07-09 15:46:03 +08:00
committed by Jare Guo
parent b30c9e3118
commit a445600d7f
+1 -1
View File
@@ -285,7 +285,7 @@ var AssetLibrary = {
_rawAssetsBase = options.rawAssetsBase;
var md5AssetsMap = options.md5AssetsMap;
if (md5AssetsMap) {
if (md5AssetsMap && md5AssetsMap.import) {
// decode uuid
for (var folder in md5AssetsMap) {
var md5Map = js.createMap(true);