Skip to content

webpack_static does not return filename with hash #138

@Pacu2

Description

@Pacu2

On production, while using:
{% webpack_static 'filename.css' %}
I think it should resolve to /some/dir/filename.hash.css rather than /some/dir/filename.css

It would allow me to get URLs for prefetching/preloading.
Shouldn't webpack_static follow render_bundle behavior and return hashed version of file?

I cannot use render_bundle as .css file tag is created with type="text/css" rel="stylesheet" attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions