Installation npm install babel-plugin-zent-replace --save-dev Why? to solve this issue youzan/zent#200 Usage config babel, write name to .babelrc file { "plugins": [ ["zent-replace"] ] } License MIT