Closed jayu closed 1 year ago
Hey, I have this extension installed and I've noticed it prints a ton of logs in extension development console
It makes it hard to develop other extensions with such a frequent logging. I think this line might be the reason
https://github.com/Gruntfuggly/todo-tree/blob/598a46be532b7d51814face262ff3ec42630664c/src/config.js#L203
Please remove logging if possible 😁
If you want to keep console.logs for development, you could perhaps use babel plugin like https://www.npmjs.com/package/babel-plugin-transform-remove-console, but it would require some additional setup since you are using ts-loader
ts-loader
Or setup custom logger function that would just output nothing in production env.
Yes - sorry, that shouldn't be there. I also hate it when extensions pollute the logs. I'll remove it for the next version (won't be too long).
Should be removed in the latest version (0.0.224)
Hey, I have this extension installed and I've noticed it prints a ton of logs in extension development console
It makes it hard to develop other extensions with such a frequent logging. I think this line might be the reason
https://github.com/Gruntfuggly/todo-tree/blob/598a46be532b7d51814face262ff3ec42630664c/src/config.js#L203
Please remove logging if possible 😁
If you want to keep console.logs for development, you could perhaps use babel plugin like https://www.npmjs.com/package/babel-plugin-transform-remove-console, but it would require some additional setup since you are using
ts-loader
Or setup custom logger function that would just output nothing in production env.