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:
parent
f489accf57
commit
33f3431dfe
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue