remove main key from package.json in template project

expo init testproj --template expo-template-blank-typescript
expo prebuild

leads to this output:

✔ Updated package.json and added index.js entry point for iOS and Android.
[21:06:19] › Removed "main": "node_modules/expo/AppEntry.js" from package.json because we recommend using index.js as main instead.

Hey @retohoehener, I’m confused…what are you trying to say with this post?

expo prebuild prints out a note that the ‘main’ key was removed because you recommend using index.js. Shouldn’t the template follow the expo recommendations in the first place?

I’m still in the process of migrating from managed to bare, and I do a whole lot of comparison with the blank template projects. Stuff like this confuses me.

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