https://github.com/lorefnon/hexo-renderer-esbuild
https://github.com/lorefnon/hexo-renderer-esbuild
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lorefnon/hexo-renderer-esbuild
- Owner: lorefnon
- Created: 2021-01-06T19:58:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-09T12:17:56.000Z (over 5 years ago)
- Last Synced: 2025-02-12T09:11:21.054Z (over 1 year ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
Experimental renderer plugin for Hexo that bundles js/jsx/ts/tsx files through [ESBuild](https://esbuild.github.io/), a javascript transpiler and bundler written in Go that substantially outperforms webpack, parcel & browserify.
# Install
```sh
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