krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
18.2k stars 768 forks source link

chore: use "!" in license to avoid minification #474

Closed jahed closed 4 years ago

jahed commented 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

jahed commented 4 years ago

The other option is to use @license inside the comment block.