[@rollup/plugin-replace]do not support replace chinese language #1523
Unanswered
liangxiwei
asked this question in
Q&A
Replies: 1 comment
-
when call plugin transform hook,the chinese in args code is unicode,and the '左边' look like not match chinese unicode |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
plugins: [ replace({ values: { 左边: "xxxx", }, }), ],
App.tsx
<div>左边</div>
Expected Behavior
“左边” will be replace to "xxxx"
Actual Behavior
can not replace
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions