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

Mitigate Meteor require warning. #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Mitigate Meteor require warning. #30

wants to merge 1 commit into from

Conversation

radekmie
Copy link

@radekmie radekmie commented May 2, 2017

When antd is used in Meteor, this warning shows up:

Unable to resolve some modules:

  "indexof" in .../node_modules/component-classes/index.js (web.browser)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save indexof

This PR aims to get rid of it.

@sholladay
Copy link

I have a simpler solution that works better with tools such as Rollup, which try to statically analyze the require() statements.

See: sholladay@adfdb84

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.

2 participants