sudodoki/copy-to-clipboard

Please remove comments in source files

chi-gao opened this issue · 6 comments

Please remove comments in source files. Or export a lib file without comments.

Can you please provide context of why you need this?

I used this package in my project, resulting in the packaged code containing comments, but our online project is not allowed to include comments. So, could you post an NPM package without comments?

What do you use for bundling code? What about postprocessing that would remove code comments? Right now there's no prebuilt lib, just index.js that is supposedly for end-user to mangle and minify any way they like.

Our project is special and only some files are compressed.
Or could you provide a beta version with the comment removed? This will solve our problem.
we use gulp to bundle and process.

You can use copy-to-clipboard/example/index.js for this purpose

You resolved my problem. Thanks.