0.5.1 • Published 3 years ago

hexo-renderer-esbuild v0.5.1

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

About

Experimental renderer plugin for Hexo that bundles js/jsx/ts/tsx files through ESBuild, a javascript transpiler and bundler written in Go that substantially outperforms webpack, parcel & browserify.

Install

cd my-blog
yarn add hexo-renderer-esbuild 
# or 
npm install hexo-renderer-esbuild

Now any javascript file in source directly will be bundled as part of hexo's build process.

Configuration

This renderer does not need any configuration and works out of the box.

However, you can pass any configuration options to esbuild through esbuild property in _config.yml.

Note:

  • ESbuild supports typescript but does not do any type checking. You will need to run tsc for type-checking.

License

MIT

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago