Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have license texts not stripped by builders/packers/transpilers #27

Closed
jkowalleck opened this issue Jun 3, 2022 · 0 comments · Fixed by #28
Closed

have license texts not stripped by builders/packers/transpilers #27

jkowalleck opened this issue Jun 3, 2022 · 0 comments · Fixed by #28

Comments

@jkowalleck
Copy link
Contributor

jkowalleck commented Jun 3, 2022

in the JavaScript/node ecosystem, it is common to pack/transpile/transform source code for a target system.
babel, webpack, esbuild, ... these tools are usually used for the tasks.

tools minify code by stripping comments.
a license-text-comment should not be stripped, but it should be kept.
therefore these tools do not touch block-comments that start with /*!. some tools replace these comments with a text that states in which file the original text can still be found. yet they respect the ! and keep the texts.

task: make all license-text comments be block-comments starting with an enforcer-mark !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant