3.0.0 • Published 4 years ago
@start/plugin-lib-rollup v3.0.0
🏭 plugin-lib-rollup
Bundle files using Rollup.
Install
$ yarn add --dev @start/plugin-lib-rollup
Usage
Signature
rollup(config: {})
config
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)
)
}