classes icon indicating copy to clipboard operation
classes copied to clipboard

Mitigate Meteor require warning.

Open radekmie opened this issue 8 years ago • 1 comments

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.

radekmie avatar May 02 '17 15:05 radekmie

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

See: https://github.com/sholladay/classes/commit/adfdb84d9977403b4924801b68b354e5356ca0a6

sholladay avatar Apr 12 '18 14:04 sholladay