documentation.federated.com.../node_modules/postcss-cli/lib/getMapfile.js
2023-05-30 11:55:11 -06:00

8 lines
239 B
JavaScript

import path from 'path'
export default function getMapfile(options) {
if (options.map && typeof options.map.annotation === 'string') {
return `${path.dirname(options.to)}/${options.map.annotation}`
}
return `${options.to}.map`
}