Socket
Book a DemoInstallSign in
Socket

hexo-renderer-esbuild

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-renderer-esbuild

js renderer (effectively bundler) plugin for Hexo powered by esbuild

0.5.1
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

hexo

FAQs

Package last updated on 06 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.