Friday 31 May 2019

npm init - What is the 'entry point/main' used for?

It looks like: https://gyazo.com/2ed699908dc00f16aa89deeef86bdb1d​It's stated that​> Sets the entry point for the package.When you import this package in an application, that’s where the application will search for the module exports.​​I'm not sure what it means. Does it matter if it's any JS file?

Submitted May 31, 2019 at 11:24PM by badboyzpwns

No comments:

Post a Comment