Skip to content

Releases: mmdctjj/rollup-plugin-remove-others-console

0.0.7@rollup-plugin-remove-others-console

18 Jul 14:35
Compare
Choose a tag to compare

feat: 🚀 使用{}替换'',适用范围更广,减少报错,比如

Promise()
  .then(res => {})
  .catch((err) => console.log(err)) // => catch((err) => {}) 

useEffect(() => console.log(data), [data])  // => useEffect(() => {}, [data])

fix: 💎 修复错误的行内容拼接