UNPKG

@modular-css/processor

Version:

A streamlined reinterpretation of CSS Modules

12 lines (8 loc) 197 B
"use strict"; const path = require("path"); module.exports = (cwd, file) => { if(!path.isAbsolute(file)) { file = path.join(cwd, file); } return path.normalize(file); };