Open tjconcept opened 1 month ago
I'm wondering if it would make sense to support main.js as an entrypoint like index.js is.
main.js
index.js
However, I'm actually more curious what the current logic is. Why is index.js supported?
you can point the entry with main.js in the package.json
{ "main": "main.js", // or "module": "main.mjs" }
Sure, but.. what if I don't have a package.json (or similar) file? 😅
package.json
I'm wondering if it would make sense to support
main.js
as an entrypoint likeindex.js
is.However, I'm actually more curious what the current logic is. Why is
index.js
supported?