Skip to content

Commit

Permalink
Merge pull request #90 from pirxpilot/fix-sourcemap-filename
Browse files Browse the repository at this point in the history
fix `input.js` file entries in source maps
  • Loading branch information
goto-bus-stop authored Aug 22, 2018
2 parents 7e13064 + 1781b03 commit cdb9b07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ module.exports = function (file, opts) {
vars: vars,
varModules: { path: path },
parserOpts: opts && opts.parserOpts,
sourceMap: opts && (opts.sourceMap || opts._flags && opts._flags.debug)
sourceMap: opts && (opts.sourceMap || opts._flags && opts._flags.debug),
inputFilename: file
}
);
return sm;
Expand Down

0 comments on commit cdb9b07

Please sign in to comment.