For some projects, specifying the "main" attribute makes task runners able to automatically copy the js file of this module to its correct directory (or combine it) and prevents from throwing an error that a lot of people will not figure out quickly.
For some projects, specifying the "main" attribute makes task runners able to automatically copy the js file of this module to its correct directory (or combine it) and prevents from throwing an error that a lot of people will not figure out quickly.