js: Remove external source map option

It was merged by accident and the implementation does not look correct.

Fixes #7932
This commit is contained in:
Bjørn Erik Pedersen
2020-11-04 19:09:40 +01:00
parent bf2837a314
commit 944150bafb
3 changed files with 3 additions and 11 deletions

View File

@@ -78,8 +78,7 @@ func (t *buildTransformation) Transform(ctx *resources.ResourceTransformationCtx
}
opts.sourcefile = ctx.SourcePath
opts.workDir = t.c.rs.WorkingDir
opts.resolveDir = opts.workDir
opts.resolveDir = t.c.rs.WorkingDir
opts.contents = string(src)
opts.mediaType = ctx.InMediaType