@providesModule not working

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?

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

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