You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
ClosesCycloneDX#305: In the JavaScript ecosystem, it is common to bundle or
minify code. During these processes, it is common to remove code
comments. Prefix license comment blocks with “/*!” to signal to these
tools that the license comment block should not be removed.
Signed-off-by: William E Little Jr <git@bmo.dev>
Closes#305: In the JavaScript ecosystem, it is common to bundle or
minify code. During these processes, it is common to remove code
comments. Prefix license comment blocks with “/*!” to signal to these
tools that the license comment block should not be removed.
Signed-off-by: William E Little Jr <git@bmo.dev>
Signed-off-by: William E Little Jr <git@bmo.dev>
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
!
The text was updated successfully, but these errors were encountered: