Skip to content

[Bug]: use splitChunks.chunks='all' and sri plugins Error:ERROR in × Asset XXX contains unresolved integrity placeholders #11082

@wjljack

Description

@wjljack

System Info

i use latest version of rspack/core and rspack/cli (1.4.8)

Details

when i use SubresourceIntegrityPlugin and splitChunks.chunks='all' ,the error describe in title occurred,

  1. remove SubresourceIntegrityPlugin , no errors.
  2. use SubresourceIntegrityPlugin,and splitChunks.chunks keep default(async) , no errors

Reproduce link

No response

Reproduce Steps

  optimization: {
    splitChunks: {
      chunks: 'all',  // set to all , error ,remove this ok;
        },

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions