mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-11-05 04:05:31 +00:00
8 lines
239 B
JavaScript
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`
|
|
}
|