Y
Hacker News
new
|
ask
|
show
|
jobs
by
6gvONxR4sf7o
1963 days ago
Is that minification?
1 comments
cyral
1963 days ago
I thought minifiers were supposed to keep licenses (they can detect the license header). I suppose this could get turned off or messed up by accident with the gigantic custom webpack bundlers even stuff like create-react-app ship with.
link
nicoburns
1963 days ago
Lots of libraries don't put the license in the header, only in a separate LICENSE file.
link
fiddlerwoaroof
1962 days ago
I've looked at Webpack's output before, and I don't recall seeing any headers there.
link
sbergot
1962 days ago
Webpack definitely keeps the license headers even when minification is on. They have to start with something like "@license".
link