mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-23 08:50:20 -05:00
18 lines
339 B
JavaScript
18 lines
339 B
JavaScript
var path = require('path')
|
|
|
|
function dist () {
|
|
var args = [].slice.call(arguments)
|
|
var paths = [__dirname, '..', 'dist'].concat(args)
|
|
return path.join.apply(path, paths)
|
|
}
|
|
|
|
module.exports = {
|
|
getPathToDist: function(){
|
|
return dist.apply(null, arguments)
|
|
},
|
|
|
|
getPathToIndex: function(){
|
|
return dist('index.html')
|
|
},
|
|
}
|