A Rollup plugin for Lucy.
npm install @lucy/rollup-plugin --save-dev
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'
}]
});
BSD-2-Clause