Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

@start/plugin-lib-rollup

0.3.1 • Public • Published

🏭 plugin-lib-rollup

Bundle files using Rollup.

Install

$ yarn add --dev @start/plugin-lib-rollup

Usage

Signature

rollup(config{})

config

Rollup configuration.

Example

import sequence from '@start/plugin-sequence'
import env from '@start/plugin-env'
import rollup from '@start/plugin-lib-rollup'
 
export const task = async () => {
  const { default: rollupConfig } = await import('./rollup.config')
 
  return sequence(
    env('NODE_ENV', 'production'),
    rollup(rollupConfig)
  )
}

Install

npm i @start/plugin-lib-rollup

DownloadsWeekly Downloads

4

Version

0.3.1

License

MIT

Unpacked Size

3.45 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar