Skip to content

Update Hugo deprecation warning #12

@lenntt

Description

@lenntt

Description

I'm using Hugo 0.140.0, and the build throws a warning we might want to fix somewhere in the future.

ERROR deprecated: resources.PostCSS was deprecated in Hugo v0.128.0 and will be removed in Hugo 0.141.0. Use css.PostCSS instead.

We've pinned our CI at 0.119.0 (sept 2023), so it wont break by itself, but we might consider updating sometimes.

I'm suspecting it fails here:

{{ $style := $css | resources.PostCSS (dict "config" "./postcss.config.js")}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions