Skip to content

Commit 6cd4b13

Browse files
committed
Merge pull request #445 from eddiemonge/webpath
Fix Windows broken paths
2 parents e4db7c0 + 40aa61d commit 6cd4b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Generator.prototype.addScriptToIndex = function (script) {
9797
file: fullPath,
9898
needle: '<!-- endbuild -->',
9999
splicable: [
100-
'<script src="scripts/' + script + '.js"></script>'
100+
'<script src="scripts/' + script.replace('\\', '/') + '.js"></script>'
101101
]
102102
});
103103
} catch (e) {

0 commit comments

Comments
 (0)