Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 490 Bytes

readme.md

File metadata and controls

35 lines (24 loc) · 490 Bytes

@lucy/rollup-plugin

A Rollup plugin for Lucy.

Install

npm install @lucy/rollup-plugin --save-dev

Usage

Important: This plugin currently only works with ESM rollup configs.

Import and use like any other Rollup plugin.

rollup.config.mjs

// rollup.config.js
import lucy from '@lucy/rollup-plugin';

export default ({
  input: 'entry.js',
  plugins: [lucy()],
  output: [{
    file: 'bundle.js',
    format: 'es'
  }]
});

License

BSD-2-Clause