mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
@@ -46,5 +46,4 @@ func TestReplaceRegularCSSImports(t *testing.T) {
|
||||
|
||||
reverted := replaceRegularImportsOut(res)
|
||||
c.Assert(reverted, qt.Equals, scssWithImport)
|
||||
|
||||
}
|
||||
|
@@ -127,7 +127,7 @@ func (t *toCSSTransformation) Transform(ctx *resources.ResourceTransformationCtx
|
||||
// more correct for the main entry path (main.scss typically), but
|
||||
// it will mess up the import mappings. As a workaround, we do a replacement
|
||||
// in the source map itself (see below).
|
||||
//options.InputPath = inputPath
|
||||
// options.InputPath = inputPath
|
||||
options.to.SourceMapOptions.OutputPath = outName
|
||||
options.to.SourceMapOptions.Contents = true
|
||||
options.to.SourceMapOptions.OmitURL = false
|
||||
|
Reference in New Issue
Block a user