Skip to content

configureFilenames hash after question mark #160

@aliechti

Description

@aliechti

There is a problem when I try to set the chunkhash after the question mark:

.configureFilenames({
    js: '[name].js?[chunkhash:16]'
})

Outputs:

Error: Problem deleting JS entry for style: 0 files were deleted
at compilation.chunks.forEach 
  (/node_modules/@symfony/webpack-encore/lib/webpack/delete-unused-entries-js-plugin.js:41:27)

This works for css, images and fonts, but not for js.

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