hexo-renderer-esbuild
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i hexo-renderer-esbuild

Weekly Downloads

1

Version

0.5.1

License

MIT

Unpacked Size

10.6 kB

Total Files

9

Last publish

Collaborators

  • lorefnon