mirror of
https://github.com/penpot/penpot.git
synced 2025-06-27 15:56:59 +02: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 = {};
|
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"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue