Do I need main entry point file for my package?


#1

Hi everyone,

The main entry point (index.js) of my package (front-icons) looks like this:

'use babel';

export default {

  activate() {}
};

As you can see, it does nothing.
Should I keep it for some reason or it can be deleted?
The package seems to work fine when I delete index.js locally.

Cheers :slight_smile:


#2

If you look at my file-type-icons package, you’ll see that it has no main file and no main attribute in the package.json. Things work just fine :grinning:


#3

Awesome!
Removed it right away.
Thank you :wink: