0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-28 15:41:25 -05:00

Minor changes on gulpfile.

This commit is contained in:
Andrey Antukh 2020-06-19 15:14:03 +02:00
parent f489accf57
commit 33f3431dfe

View file

@ -142,16 +142,16 @@ function readManifest(publicURI) {
const index = {};
for (let item of content) {
index[item.name] = publicURI + "/js/" + item["output-name"];
index[item.name] = "/js/" + item["output-name"];
};
return index;
} catch (e) {
console.error("Error on reading manifest, using default.");
return {
"main": publicURI + "/js/main.js",
"shared": publicURI + "/js/shared.js",
"worker": publicURI + "/js/worker.js"
"main": "/js/main.js",
"shared": "/js/shared.js",
"worker": "/js/worker.js"
};
}
}