lix-website/themes/lix/assets/bootstrap/node_modules/postcss-cli/lib/getMapfile.js

8 lines
239 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
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`
}