mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user