Revert "Correct source map paths for babel-register." (#3599)
This commit is contained in:
parent
83522c9cb5
commit
7ee2381955
@ -48,11 +48,8 @@ function compile(filename) {
|
||||
let result;
|
||||
|
||||
// merge in base options and resolve all the plugins and presets relative to this file
|
||||
let relativePath = getRelativePath(filename);
|
||||
let opts = new OptionManager().init(extend(deepClone(transformOpts), {
|
||||
filename,
|
||||
sourceMapTarget: relativePath,
|
||||
sourceFileName: relativePath,
|
||||
filename
|
||||
}));
|
||||
|
||||
let cacheKey = `${JSON.stringify(opts)}:${babel.version}`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user