hexojs/hexo

Allow themes to build web bundles

Open

#4221 opened on Apr 5, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (41,376 stars) (5,017 forks)batch import
discussionhelp wantednot following issue template

Description

In order to comply with modern fast loading webpages it should be possible for Hexo themes to use tools like https://github.com/webpack so we can serve optimized bundles of javascript and css to the browser.

I'm really looking forward to either a piece of documentation on how to achieve that or something like a hook which we can attach to the generate process.

E.g. check the lighthouse scoring of my blog.

Contributor guide