hexo-renderer-webpack

Webpack renderer plugin for Hexo

Usage no npm install needed!

<script type="module">
  import hexoRendererWebpack from 'https://cdn.skypack.dev/hexo-renderer-webpack';
</script>

README

hexo-renderer-webpack

Add Hexo support for Webpack.

Install

$ npm install hexo-renderer-webpack --save

Options

You can configure this plugin in _config.yml or your theme's _config.yml.

webpack:
  entry: 'themes/my-theme/source/js/app.js'

or

webpack:
  entry:
    - 'themes/my-theme/source/js/app.js'
    - 'themes/my-theme/source/js/lib.js'

Links