@providesModule not working

#1

Seems like I can’t use @provideModule in snack.

/**
 * @providesModule CustomSocialColor
 */

export default {
  facebook: '#3b5998',
  twitter: '#00aced',
};

I tried doing import {facebook} from CustomSocialColor, but snack is asking me to install CustomSocialColor plugin which doesn’t exists.

Am I doing wrong or whether this feature is not available?

#2

I think that yes you need to use relative path imports in Snack.

closed #3

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.