mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
✨ Minor changes on gulpfile.
This commit is contained in:
@@ -142,16 +142,16 @@ function readManifest(publicURI) {
|
|||||||
|
|
||||||
const index = {};
|
const index = {};
|
||||||
for (let item of content) {
|
for (let item of content) {
|
||||||
index[item.name] = publicURI + "/js/" + item["output-name"];
|
index[item.name] = "/js/" + item["output-name"];
|
||||||
};
|
};
|
||||||
|
|
||||||
return index;
|
return index;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Error on reading manifest, using default.");
|
console.error("Error on reading manifest, using default.");
|
||||||
return {
|
return {
|
||||||
"main": publicURI + "/js/main.js",
|
"main": "/js/main.js",
|
||||||
"shared": publicURI + "/js/shared.js",
|
"shared": "/js/shared.js",
|
||||||
"worker": publicURI + "/js/worker.js"
|
"worker": "/js/worker.js"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user