Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit e93aedd

Browse files
committed
fix(resources): Always use / in paths written to config.xml
fixes ionic-team/ionic-cli#625 fixes ionic-team/ionic-framework#4212
1 parent 0d24e15 commit e93aedd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/resources.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ function updateConfigData() {
743743
platformConfigData[image.nodeName] = [];
744744
}
745745

746+
image.src = image.src.replace(/\\/g, '/');
746747
var node = getResourceConfigNode(platformConfigData, image.nodeName, image.src);
747748
if (!node) {
748749
node = { '$': {} };

0 commit comments

Comments
 (0)