1.1.2 • Published 1 year ago

hexo-renderer-rollup v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year ago

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

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

4 years ago

0.0.1

4 years ago