react-lz-editor icon indicating copy to clipboard operation
react-lz-editor copied to clipboard

去掉console信息

Open HansPeng opened this issue 7 years ago • 5 comments

你好,我今天刚更新了0.11.5版本,然后发现用到编辑器的地方开发者工具会一直log信息出来,如下图,搜了一下,是编辑器报的,请问可以去掉吗?有点影响调试 image image

HansPeng avatar Sep 18 '17 08:09 HansPeng

嗯嗯,下个版本会去掉,你可以在npm包里先注释掉,以免继续影响使用,抱歉疏忽了。

leejaen avatar Sep 19 '17 01:09 leejaen

居然不是用uglifyjs去掉的

drop_console -- default false. Pass true to discard calls to console.* functions. If you wish to drop a specific function call such as console.info and/or retain side effects from function arguments after dropping the function call then use pure_funcs instead

p2227 avatar Sep 28 '17 09:09 p2227

image 这里又有了

jiangfb avatar Oct 23 '17 07:10 jiangfb

请问可以再npm 上重新发布一版吗? 现在使用的版本是0.11.5还是有这个console信息的。

zihengY avatar Nov 07 '17 05:11 zihengY

@zihengY ,感谢反馈,我已经发布了0.11.6版本,最近时间不太充裕,抱歉回复晚了,积累了好多issue。。。

leejaen avatar Nov 08 '17 06:11 leejaen