Bundle files using Rollup.
$ yarn add --dev @start/plugin-lib-rollup
# or
$ npm install --save-dev @start/plugin-lib-rollup
rollup(config: {})
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)
)
}