Skip to content

fix: disable node-builtin warnings - #700

Merged
marvinhagemeister merged 1 commit into
developit:masterfrom
wardpeet:chore/silence-node-externals
Aug 17, 2020
Merged

fix: disable node-builtin warnings#700
marvinhagemeister merged 1 commit into
developit:masterfrom
wardpeet:chore/silence-node-externals

Conversation

@wardpeet

Copy link
Copy Markdown
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

changeset-botBot commented Aug 16, 2020

Copy link
Copy Markdown

🦋 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
wardpeetforce-pushed the chore/silence-node-externals branch from 164361b to 3f12b2bCompareAugust 16, 2020 19:40

@marvinhagemeistermarvinhagemeister left a comment

Copy link
Copy Markdown
Collaborator

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:masterAug 17, 2020
@github-actionsgithub-actionsBot mentioned this pull request Aug 17, 2020
@katywings

Copy link
Copy Markdown
Collaborator

@wardpeet Awesome work! :)

@preact-botpreact-bot mentioned this pull request Sep 28, 2020
Sign up for freeto 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

@wardpeet@katywings@developit@marvinhagemeister