Skip to content

[Bug]: Invalid left-hand side in assignment #5700

@188007803

Description

@188007803

Version

System:
    OS: macOS 12.7.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 2.18 GB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Browsers:
    Chrome: 138.0.7204.158
    Edge: 138.0.3351.109
    Safari: 17.6

Details

Current behaviour 💣

rsbuild.config.mjs

html: {
        template: "./public/index.html",
}

./public/index.html

<!doctype html>
<html>
  <head></head>
  <body>
    <div id="<%= mountId %>"></div>
  </body>
</html>
Image

Expected behaviour ☀️

No Error

Environment 🖥

node: 20.19.2
yarn: 1.2.22
@rsbuild/core": "1.4.9-1.4.11"
@rspack/core": "1.4.10"
OS: macOS Monterey 12.7.6

Reproduce link

nothing

Reproduce Steps

nothing

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions