Skip to content
Permalink
Browse files

Browserify handles file-relative maps fine, so using Babel's default …

…is fine.
  • Loading branch information...
loganfsmyth committed Sep 5, 2018
1 parent 947752b commit 53707d2c0e44064f681f5cd484df49d45287e90b
Showing with 1 addition and 4 deletions.
  1. +1 −4 index.js
@@ -86,13 +86,10 @@ function normalizeOptions(preconfiguredOpts, transformOpts, filename) {
),
filename: absoluteFilename,

// The default sourcemap path is the path of the file relative to the
// basedir. This should mirror Browserify's internal behavior when
// 'debug' is enabled.
sourceFileName:
sourceMapsAbsolute
? absoluteFilename
: path.relative(basedir, absoluteFilename),
: undefined,
});

return opts;

0 comments on commit 53707d2

Please sign in to comment.
You can’t perform that action at this time.