MagicMirror-Module-Template icon indicating copy to clipboard operation
MagicMirror-Module-Template copied to clipboard

remove "main" field from package.json

Open chrisbutler opened this issue 8 years ago • 1 comments

hey @roramirez afaik, MMM doesn't actually do anything with the name or main fields in package.json (right @michmich?)

and i think it's caused confusion for module authors who try to name their packages one thing and name their main .js file something else, and can't get things to load (i submitted PRs against two modules in the last few days where i had to fix this)

this would likely clear up some of the confusion

chrisbutler avatar Oct 29 '17 19:10 chrisbutler

Sound reasonable your point, but why dont rewrite this thing by script to create_new module.

Can you explain me more about these module are you mention before. There some link where I can take a look.

roramirez avatar May 23 '18 19:05 roramirez