hexo-renderer-rollup

1.1.2 • Public • Published

hexo-renderer-rollup

npm build license

Rollup renderer plugin for Hexo.

Install

$ npm i hexo-renderer-rollup

Options

You can configure this plugin in _config.yml.

rollup:
  output:
    format: iife

Extension

This plugin provide a filter rollup:renderer to allows you extend the rollup configuration.

For example, to use plugins:

const { nodeResolve } = require('@rollup/plugin-node-resolve')
const commonjs = require('@rollup/plugin-commonjs')

hexo.extend.filter.register('rollup:renderer', function (config) {
  config.plugins = [nodeResolve(), commonjs()]
})

Save the file in scripts/ folder.

Refer to rollup configuration.

License

MIT © AkiJoey

Readme

Keywords

Package Sidebar

Install

npm i hexo-renderer-rollup

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

4.14 kB

Total Files

5

Last publish

Collaborators

  • akijoey