15 lines
		
	
	
		
			284 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			284 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * utils for covert browser paths,
 | 
						|
 * fix https://github.com/less/less.js/pull/4213 
 | 
						|
 * 
 | 
						|
 * @param {string} path 
 | 
						|
 * @returns {string}
 | 
						|
 */
 | 
						|
function forceCovertToBrowserPath (path) {
 | 
						|
    return (path || '').replace(/\\/g, '/');
 | 
						|
}
 | 
						|
 | 
						|
module.exports = {
 | 
						|
    forceCovertToBrowserPath
 | 
						|
}
 |