Skip to content

[dir] placeholder for chunkNames option #4338

@roggc

Description

@roggc

In a changelog, you wrote:

"Additional name template features are planned in the future including a [dir] placeholder for the relative path from the outbase directory to the original input directory as well as an --entry-names= flag, but these extra features have not been implemented yet."

I am wondering when this feature, [dir] placeholder for chunkNames option, would be implemented.

This will be very helpful when integrating react-refresh and with splitting set to true, because then chunk names will be stable between rebuilds, allowing react-refresh to do its job. I tried with splitting set to false, but then I have problems with multiple versions of React being used (invalid hooks call error).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions