Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Only option "inline" seems to work for sourceMap in css.Build #14620

@frjo

Description

@frjo

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.158.0-DEV-36cdb2c7896bf8ec7ae5d716449b6678373bb5d1 darwin/arm64 BuildDate=2026-03-13T07:33:17Z VendorInfo=mage

I tried setting sourceMap to all of the options, linked, external, inline, both, or none.

  • With "both" I get unsupported sourcemap type: "both"
  • With "linked" I get Sourcemap …/css/styles.css.map has invalid sources in my browsers console.
  • With "external" I see nothing.

The "inline" option works well however.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions