Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow config files to contain non-default exports #2673

Merged
merged 2 commits into from Feb 15, 2019
Merged

Allow config files to contain non-default exports #2673

merged 2 commits into from Feb 15, 2019

Conversation

swansontec
Copy link
Contributor

@swansontec swansontec commented Jan 31, 2019

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers: #2682

Description

Before, if rollup.config.js contained any ES6 exports besides default, rollup would break. Now, rollup correctly ignores these irrelevant exports.

Before, if a config file contained exports other than `default`, rollup would break. Now, it correctly ignores these irrelevant config-file exports.
@swansontec
Copy link
Contributor Author

I went ahead and created a proper bug report for this issue, and updated the PR to remove the warning as well.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good!

@lukastaegert lukastaegert merged commit f8faa4b into rollup:master Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants