Skip to content

Feature: add compiler output options support for hash #121

Open
@aarefiev

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions