7 ms·
Don’t “npm install” anything and just copy the compiled .min.js library/framework files into your “/libs” folder.
by d13 2y ago
Don’t “npm install” anything and just copy the compiled .min.js library/framework files into your “/libs” folder.
- apitman 2y agoI tend to use git submodules to vendor into ./lib. It's rather clunky to work with, but once you know a couple commands it works pretty well. As a bonus, GitHub pages recursively clones submodules automatically. If you're using ES modules, you can host a site with no build step (ie github actions) directly from your main branch.