Skip to content

Update rollup warning message in Node. #1949

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

Merged
merged 2 commits into from
Jul 12, 2019
Merged

Update rollup warning message in Node. #1949

merged 2 commits into from
Jul 12, 2019

Conversation

hsubox76
Copy link
Contributor

@hsubox76 hsubox76 commented Jul 9, 2019

This rollup plugin has deprecated the boolean "module" and "main" fields in favor of a "mainFields" array. Updating warning message to match.

If using Rollup, use the rollup-plugin-node-resolve plugin and set "module"
to false and "main" to true:
If using Rollup, use the rollup-plugin-node-resolve plugin and set the
"mainFields" field to ['main', 'module'].
Copy link
Member

Choose a reason for hiding this comment

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

How about specify "main" as the first item in "mainFields", e.g. ['main', 'module']

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@hsubox76 hsubox76 merged commit 5ff1c6d into master Jul 12, 2019
@firebase firebase locked and limited conversation to collaborators Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants