mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 04:15:40 +00:00
perf: install core libs directly rather than via external CDN
Increase performance in countries such as China. Addresses the case where countries block or restrict CDNs, or when external CDNs go offline. See https://github.com/wowchemy/wowchemy-hugo-modules/pull/2351
This commit is contained in:
1 parent
a9189fd7c7
commit
c750304197
25 files changed
+9847
-29
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Install node_modules manually so that users don't need to use Yarn.
|
||||
|
||||
cd ..
|
||||
|
||||
cp node_modules/jquery/dist/jquery.min.js wowchemy/assets/js/_vendor/
|
||||
cp node_modules/instant.page/instantpage.js wowchemy/assets/js/_vendor/
|
||||
cp -r 'node_modules/@fortawesome/fontawesome-free/webfonts' wowchemy/static/
|
||||
cp -r 'node_modules/@fortawesome/fontawesome-free/css/all.min.css' wowchemy/assets/css/libs/fontawesome
|
||||
Reference in new issue
Block a user