Closed BehindTheMath closed 6 years ago
jsDelivr can auto-minify css and js files. Check it out http://cdn.jsdelivr.net/npm/pjax@0.2.4/pjax.min.js
Cool. Maybe we should suggest this in the README for the unminified version as well, instead of Unpkg.
Can be added to npm package, but imo should not be versionned (can quickly become a pain to maintain). You can exclude with gitignore but include with npm package.json/files section.
but imo should not be versionned
Do you mean it shouldn't be committed to Github?
Exactly.
We should add a minified version of
pjax.js
to the NPM package, to reduce the bandwith required for anyone linking to it directly (using unpkg.com).