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

fix: disable node-builtin warnings #700

Merged

Conversation

wardpeet
Copy link
Collaborator

Disables warnings for node's builtin modules like stream, child_process when target is node. Rollup-node-resolve marks these modules as external but still shows a warning.

  console.warn node_modules/rollup/dist/shared/node-entry.js:13595  
    'child_process' is imported by src\index.js, but could not be resolved – treating it as an external dependency

@changeset-bot
Copy link

changeset-bot bot commented Aug 16, 2020

🦋 Changeset is good to go

Latest commit: 3f12b2b

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wardpeet wardpeet force-pushed the chore/silence-node-externals branch from 164361b to 3f12b2b Compare August 16, 2020 19:40
Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Good catch 👍

@marvinhagemeister marvinhagemeister merged commit 3488411 into developit:master Aug 17, 2020
@github-actions github-actions bot mentioned this pull request Aug 17, 2020
@katywings
Copy link
Collaborator

@wardpeet Awesome work! :)

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.

4 participants