UNPKG

@investravis.com/hexo-goose-builder

Version:

An exploratory plugin that aims to introduce a theme builder for Hexo, which supports modular development in the theme building process and supports popular ESM scripts and TailwindCSS, etc.

17 lines (13 loc) 378 B
'use strict'; const BundlerConfig = require('./js-bundler/config'); const BundlerCore = require('./js-bundler/bundler-core'); class ComponentJSBundler { constructor(hexo) { this.config = new BundlerConfig(hexo); this.bundlerCore = new BundlerCore(this.config); } async bundle() { return this.bundlerCore.bundle(); } } module.exports = ComponentJSBundler;