refactor main.js into smaller pieces, and moved navbar.js to assets

This commit is contained in:
Aaron Qian 2022-11-10 23:23:50 -08:00 committed by Aaron Qian
parent fd8eeb3330
commit 177dffe553
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
19 changed files with 214 additions and 207 deletions

View file

@ -0,0 +1,7 @@
if (process.env.FEATURE_VIDEOPLAYER) {
import('./videoplayer');
}
if (process.env.FEATURE_TOC) {
import('./toc');
}