chore(windows): fix the JS e2e/benchmark tasks

This commit is contained in:
Marc Laval 2015-06-25 16:56:35 +02:00
parent 91d9e8d649
commit 8b685466f5
1 changed files with 3 additions and 1 deletions

View File

@ -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: '/'});