Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Feature: add compiler output options support for hash #121

Description

@aarefiev

Hi!

It will be cool if loader will support output options of webpack, especially options for hash like as hashDigestLength. It is very useful if I should have the same length for all files after compilation. But now, I should set the same setting for all loaders that using loader-utils for processing files in core.

According to my opinion I should stay here proof based on webpack documentation (https://webpack.js.org/configuration/output/#output-filename):

The lengths of [hash] and [chunkhash] can be specified using [hash:16] (defaults to 20). Alternatively, specify output.hashDigestLength to configure the length globally.

The main word is globally, I expect that global scope is including loaders too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions