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

NPM dependencies as externals causes a warning #2690

Closed
AntonPilyak opened this issue Feb 13, 2019 · 1 comment
Closed

NPM dependencies as externals causes a warning #2690

AntonPilyak opened this issue Feb 13, 2019 · 1 comment

Comments

@AntonPilyak
Copy link

  • Rollup Version: 1.1.2
  • Operating System (or Browser): Win10
  • Node Version: 10.15.0

How Do We Reproduce?

In Typescript project (didn't check if it is the same with plain JS)

  1. install npm dependencies using this or similar config. Here is the more detailed example.
  2. mark installed packages as externals, like it is described here
  3. build the bundle.

Expected Behavior

No warnings, NPM dependencies are not exported from the bundle.

Actual Behavior

"(!) Missing global variable names" warning for installed NPM dependencies

@AntonPilyak
Copy link
Author

The issue was my mistake related to umd modules imports.

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

No branches or pull requests

1 participant