We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.map
1 parent 6ef2518 commit b987ea4Copy full SHA for b987ea4
lib/process-file.js
@@ -9,7 +9,7 @@ const getSourceMapContent = require('./get-sourcemap-content');
9
10
module.exports = async function processFile(inFile, outFile, relativePath, outDir, silent, _options) {
11
let src = fs.readFileSync(inFile, 'utf-8');
12
- let mapName = `${path.basename(outFile).replace(/\.js$/, '')}.map`;
+ let mapName = `${path.basename(outFile)}.map`;
13
14
let mapDir;
15
if (_options.sourceMapDir) {
0 commit comments