Skip to content

[Bug]: [name] placeholder in webassemblyModuleFilename is rendered incorrectly #11351

@chenjiahan

Description

@chenjiahan

System Info

  npmPackages:
    @rspack/core: ^1.4.10 => 1.4.10

Details

The [name] placeholder in output.webassemblyModuleFilename is rendered incorrectly:

  • [name].wasm should be replaced by factorial.wasm
Image

Reproduce link

https://github.com/chenjiahan/rspack-repro-wasm-file-name-replaceholder

Reproduce Steps

  1. pnpm i
  2. pnpm build:rsbuild

Metadata

Metadata

Labels

PR welcometeamThe issue/pr is created by the member of Rspack.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions