Closed jahed closed 4 years ago
Using /*! for starting license blocks seems to be a typical approach to tell minifiers not to remove them.
/*!
For example, terser-webpack-plugin docs: https://github.com/webpack-contrib/terser-webpack-plugin/#extractcomments
The other option is to use @license inside the comment block.
@license
Using
/*!
for starting license blocks seems to be a typical approach to tell minifiers not to remove them.For example, terser-webpack-plugin docs: https://github.com/webpack-contrib/terser-webpack-plugin/#extractcomments