4 ms·
Stupid question maybe but what's wrong with the included bootstrap.min.js? What am I missing?
by Kiro 15y ago
Stupid question maybe but what's wrong with the included bootstrap.min.js? What am I missing?
- jed_s 15y agoBasically, people don't want the minified versions of files while they're developing, and there will always be people coming to the project with whatever minification tools in their build that can't handle the missing semicolons. Currently, the answer is "change your build tools". https://github.com/twitter/bootstrap/issues/1795 https://github.com/twitter/bootstrap/issues/1795
- masklinn 15y agoWhen things break (and they do) having a stack trace start in the bowels of a minified library is hell. So you'd generally use the "normal" library and the project's minification/concatenation tools. Even when they handle ASI itself correctly, these tools don't always handle things that nicely across files.