2 ms·
IIRC HTML templates never quite let me auto-detect what JS to include in the builds. The manual configuration was too much of a pain. That 7-8 line file is si
by knappador 13y ago
IIRC HTML templates never quite let me auto-detect what JS to include in the builds. The manual configuration was too much of a pain. That 7-8 line file is sitting there saying RTFM for something that is trivial when taking the path of least resistance. Copying a one-liner to load jQuery into a base template is as simple as it will get.
I'm basically resistant to any and all JS compilation. It's like multi-threading in pure Python. It's more complex, doesn't leverage the existing strengths, and in the end doesn't even really do what it says it does.
- amitu 13y agoIf you do not do JS compilation then you are either forced to not split up your project into logically different files, or you incur too many HTTP requests over head. If a project is just a few lines copy pasted here and there, then sure, but for any more complex project you have to build.