chore(windows): fix the JS e2e/benchmark tasks
This commit is contained in:
parent
91d9e8d649
commit
8b685466f5
|
@ -147,7 +147,9 @@ module.exports = function makeBrowserTree(options, destinationPath) {
|
||||||
|
|
||||||
var scriptPathPatternReplacement = {
|
var scriptPathPatternReplacement = {
|
||||||
match: '@@FILENAME_NO_EXT',
|
match: '@@FILENAME_NO_EXT',
|
||||||
replacement: function(replacement, relativePath) { return relativePath.replace(/\.\w+$/, ''); }
|
replacement: function(replacement, relativePath) {
|
||||||
|
return relativePath.replace(/\.\w+$/, '').replace(/\\/g, '/');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var htmlTree = new Funnel(modulesTree, {include: ['*/src/**/*.html'], destDir: '/'});
|
var htmlTree = new Funnel(modulesTree, {include: ['*/src/**/*.html'], destDir: '/'});
|
||||||
|
|
Loading…
Reference in New Issue