Skip to content

Is it possible to build multiple bundles using CLI? #703

@bahmutov

Description

@bahmutov

If I need to build multiple bundles from multiple entries (1-1 entry to output bundle), is it possible to specify using single rollup.config.js or should I use the API? I would like something like this

// rollup.config.js
export default [{
  entry: 'src/foo.js',
  dest: 'dist/foo.js'
}, {
  entry: 'src/bar.js',
  dest: 'dist/bar.js'
}]]

Thanks for great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions