We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da0cc8 commit ee41093Copy full SHA for ee41093
lib/getMapfile.js
@@ -1,8 +1,4 @@
1
'use strict'
2
-const path = require('path')
3
-
4
module.exports = function getMapfile(p) {
5
- const ext = path.extname(p)
6
- const base = path.basename(p)
7
- return p.replace(base, base.replace(ext, `${ext}.map`))
+ return `${p}.map`
8
}
0 commit comments