mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-22 23:53:12 +00:00
refactor(build): modularize JS code
- replace gulp with rollup - remove JS output from repo
This commit is contained in:
9
_javascript/page.js
Normal file
9
_javascript/page.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { basic, initSidebar, initTopbar } from './modules/layouts';
|
||||
import { imgExtra, initClipboard, smoothScroll } from './modules/plugins';
|
||||
|
||||
basic();
|
||||
initSidebar();
|
||||
initTopbar();
|
||||
imgExtra();
|
||||
initClipboard();
|
||||
smoothScroll();
|
||||
Reference in New Issue
Block a user