UNPKG

guide201

Version:

Atlas is living style-guides & pattern library static site generator with extensive CSS monitoring and components info that could be used virtually with any scss/css project

15 lines (11 loc) 271 B
'use strict'; const path = require('path'); const cwd = process.cwd(); function normalizePath(url) { if (url !== undefined) { return path.isAbsolute(url) ? url : path.join(cwd, url); } else { return url; } } module.exports = normalizePath;