@lucy/rollup-plugin

0.1.4 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @lucy/rollup-plugin

Weekly Downloads

0

Version

0.1.4

License

BSD-2-Clause

Unpacked Size

1.9 kB

Total Files

3

Last publish

Collaborators

  • matthewp