Skip to content

[@rollup/plugin-replace]do not support replace chinese language #1522

@liangxiwei

Description

@liangxiwei
  • Rollup Plugin Name: @rollup/plugin-replace
  • Rollup Plugin Version: 5.0.2
  • Rollup Version: 2.75.6
  • Operating System (or Browser): chrome
  • Node Version: v20.0.0
  • Link to reproduction (⚠️ read below):

plugins: [ replace({ values: { 左边: "xxxx", }, }), ],
App.tsx
<div>左边</div>

Expected Behavior

“左边” will be replace to "xxxx"

Actual Behavior

can not replace

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions